Update an organization invite
patch
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
organizationIdstringRequiredPattern:
A unique entity identifier
^[a-zA-Z0-9_-]+$inviteIdstringRequiredPattern:
A unique entity identifier
^[a-zA-Z0-9_-]+$Body
or
Responses
200
The organization invite has been updated
application/json
An invite link created in an organization
or
or
patch/orgs/{organizationId}/link-invites/{inviteId}
PATCH /v1/orgs/{organizationId}/link-invites/{inviteId} HTTP/1.1
Host: api.gitbook.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 16
{
"role": "admin"
}200
The organization invite has been updated
{
"object": "invite",
"id": "text",
"role": "admin",
"redundant": true
}Last updated
Was this helpful?