跳转到主要内容
PATCH
/
space
/
{spaceId}
/
invitation
/
link
/
{invitationId}
cURL
curl --request PATCH \
  --url http://127.0.0.1:3000/api/space/{spaceId}/invitation/link/{invitationId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "role": "owner"
}
'
{
  "invitationId": "<string>",
  "role": "owner"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

invitationId
string
required
spaceId
string
required

Body

application/json
role
enum<string>
required
可用选项:
owner,
creator,
editor,
commenter,
viewer

Response

200 - application/json

Successful response.

invitationId
string
required
role
enum<string>
required
可用选项:
owner,
creator,
editor,
commenter,
viewer
Last modified on December 10, 2025