Skip to main content

Update workspace

Update workspace

Path Parameters
workspaceId string REQUIRED
Request Body REQUIRED
name string
icon string
Responses
200

Successful response

Schema
workspace object
id string
createdAt date-time
updatedAt date-time
name string
icon string
plan string

Possible values: [FREE, STARTER, PRO, LIFETIME, OFFERED, CUSTOM, UNLIMITED]

stripeId string
additionalChatsIndex number
additionalStorageIndex number
chatsLimitFirstEmailSentAt date-time
chatsLimitSecondEmailSentAt date-time
storageLimitFirstEmailSentAt date-time
storageLimitSecondEmailSentAt date-time
customChatsLimit number
customStorageLimit number
customSeatsLimit number
isQuarantined boolean
isSuspended boolean
default

Error response

Schema
message string
code string
issues object[]
message string