PATCH
/
base
/
{baseId}
/
authority-matrix-role
/
{authorityMatrixRoleId}
/
user
curl --request PATCH \
  --url https://app.teable.cn/api/base/%7BbaseId%7D/authority-matrix-role/%7BauthorityMatrixRoleId%7D/user \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'content-type: application/json' \
  --data '{"userIds":["string"],"departmentIds":["string"]}'
{
  "id": "<string>",
  "authorityMatrixId": "<string>",
  "users": [
    {
      "id": "<string>",
      "name": "<string>",
      "email": "<string>",
      "avatar": "<string>"
    }
  ],
  "departments": [
    {
      "id": "<string>",
      "name": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Path Parameters

baseId
string
required
authorityMatrixRoleId
string
required

Body

application/json
userIds
string[]
departmentIds
string[]

Response

200 - application/json
Successful response
id
string
required
authorityMatrixId
string
required
users
object[]
required
departments
object[]
required