简体中文
Add a collaborator to a space
cURL
curl --request POST \ --url http://127.0.0.1:3000/api/space/{spaceId}/collaborator \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "collaborators": [ { "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.
此页面对您有帮助吗?