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

Invite to a collection

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

A unique entity identifier

Pattern: ^[a-zA-Z0-9_-]+$
Body
or
Responses
204

OK

No content

post/collections/{collectionId}/permissions
POST /v1/collections/{collectionId}/permissions HTTP/1.1
Host: api.gitbook.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 33

{
  "role": "admin",
  "teams": [
    "text"
  ]
}

No content

Last updated

Was this helpful?

Powered by GitBook