For the complete documentation index, see llms.txt. This page is also available as Markdown.

Update an organization invite

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
organizationIdstringRequired

A unique entity identifier

Pattern: ^[a-zA-Z0-9_-]+$
inviteIdstringRequired

A unique entity identifier

Pattern: ^[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?

Powered by GitBook