POST
/
space
/
{spaceId}
/
collaborator
curl --request POST \
  --url https://app.teable.cn/api/space/%7BspaceId%7D/collaborator \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'content-type: application/json' \
  --data '{"collaborators":[{"principalId":"string","principalType":"user"}],"role":"owner"}'

Authorizations

Authorization
string
header
required

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

Path Parameters

spaceId
string
required

Body

application/json

Response

200

Successful response.