简体中文
Create a invitation link to your
cURL
curl --request POST \ --url http://127.0.0.1:3000/api/space/{spaceId}/invitation/link \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "role": "owner" } '
{ "invitationId": "<string>", "role": "owner", "inviteUrl": "<string>", "invitationCode": "<string>", "createdBy": "<string>", "createdTime": "<string>" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
owner
creator
editor
commenter
viewer
Successful response, return the ID of the invitation link.
此页面对您有帮助吗?