PUT
/
organization
/
{organizationId}
/
update-auto-space
curl --request PUT \
  --url https://app.teable.cn/api/organization/%7BorganizationId%7D/update-auto-space \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'content-type: application/json' \
  --data '{"autoSpaceType":"all","autoSpaceIds":["string"]}'
{
  "autoSpaceType": "all",
  "autoSpaceIds": [
    "<string>"
  ]
}

Authorizations

Authorization
string
header
required

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

Path Parameters

organizationId
string
required

Body

application/json
autoSpaceType
enum<string>
required
Available options:
all,
selected,
none
autoSpaceIds
string[]

Response

200 - application/json
Update auto space
autoSpaceType
enum<string>
required
Available options:
all,
selected,
none
autoSpaceIds
string[]