简体中文
Update a space collaborator
cURL
curl --request PATCH \ --url http://127.0.0.1:3000/api/space/{spaceId}/collaborators \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "principalId": "<string>", "principalType": "user", "role": "owner" } '
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
user
department
owner
creator
editor
commenter
viewer
Successful response.
此页面对您有帮助吗?