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

Update an org team's permission in a space

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

A unique entity identifier

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

A unique entity identifier

Pattern: ^[a-zA-Z0-9_-]+$
Body
rolestring · enum · nullableOptional

The role of a member in an organization, null for guests

Possible values:
Responses
204

Team permission was updated

No content

patch/spaces/{spaceId}/permissions/teams/{teamId}
PATCH /v1/spaces/{spaceId}/permissions/teams/{teamId} HTTP/1.1
Host: api.gitbook.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 16

{
  "role": "admin"
}

No content

Last updated

Was this helpful?

Powered by GitBook