Update an org team's permission in a space
patch
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
spaceIdstringRequiredPattern:
A unique entity identifier
^[a-zA-Z0-9_-]+$teamIdstringRequiredPattern:
A unique entity identifier
^[a-zA-Z0-9_-]+$Body
rolestring · enum · nullableOptionalPossible values:
The role of a member in an organization, null for guests
Responses
204
Team permission was updated
No content
404
No team found with the given ID
application/json
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?