PATCH
/
base
/
{baseId}
/
collaborators
curl --request PATCH \
  --url https://app.teable.io/api/base/%7BbaseId%7D/collaborators \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'content-type: application/json' \
  --data '{"principalId":"string","principalType":"user","role":"creator"}'

Authorizations

Authorization
string
header
required

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

Path Parameters

invitationId
string
required
baseId
string
required

Body

application/json
principalId
string
required
principalType
enum<string>
required
Available options:
user,
department
role
enum<string>
required
Available options:
creator,
editor,
commenter,
viewer