PATCH
/
admin
/
setting
shell
curl --request PATCH \
  --url https://app.teable.ai/api/admin/setting \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'content-type: application/json' \
  --data '{"disallowSignUp":true,"disallowSpaceCreation":true,"disallowSpaceInvitation":true,"enableEmailVerification":true,"aiConfig":{"llmProviders":[],"embeddingModel":"string","translationModel":"string","chatModel":{"lg":"string","md":"string","sm":"string","ability":{"image":true,"pdf":true,"webSearch":true}},"capabilities":{"disableActions":["string"]},"enable":true},"enableWaitlist":true,"appConfig":{"apiKey":"string","creditCount":0},"webSearchConfig":{"apiKey":"string"},"brandName":"string"}'

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
disallowSignUp
boolean
disallowSpaceCreation
boolean
disallowSpaceInvitation
boolean
enableEmailVerification
boolean
aiConfig
object
enableWaitlist
boolean
appConfig
object
webSearchConfig
object
brandName
string

Response

200

Update settings successfully.