PATCH
/
organization
/
{organizationId}
/
department-user
/
department
curl --request PATCH \
  --url https://app.teable.cn/api/organization/%7BorganizationId%7D/department-user/department \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'content-type: application/json' \
  --data '{"departmentIds":["string"],"userId":"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
userId
string
required
departmentIds
string[]