简体中文
Update authority matrix role user
cURL
curl --request PATCH \ --url http://127.0.0.1:3000/api/base/{baseId}/authority-matrix-role/{authorityMatrixRoleId}/user \ --header 'Authorization: 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
显示 子属性
此页面对您有帮助吗?