简体中文
Update authority matrix role user
cURL
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>" } ] }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Successful response
The response is of type object.
object