Update a team
patch
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
organizationIdstringRequiredPattern:
A unique entity identifier
^[a-zA-Z0-9_-]+$teamIdstringRequiredPattern:
A unique entity identifier
^[a-zA-Z0-9_-]+$Body
titlestring · min: 1 · max: 64Required
Title of the team
Responses
200
The team has been updated
application/json
objectstring · enumRequiredPossible values:
Type of Object, always equals to "team"
idstringRequired
Unique identifier for the team.
titlestring · min: 1 · max: 64Required
Title of the team
membersintegerRequired
Count of members in this team.
spacesnumberRequired
Count of spaces this team has access to.
createdAtstring · date-timeRequired
Date at which the team was created.
patch/orgs/{organizationId}/teams/{teamId}
PATCH /v1/orgs/{organizationId}/teams/{teamId} HTTP/1.1
Host: api.gitbook.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 16
{
"title": "text"
}200
The team has been updated
{
"object": "team",
"id": "text",
"title": "text",
"members": 1,
"spaces": 1,
"createdAt": "2026-01-01T00:00:00.000Z",
"permissions": {
"admin": true,
"view": true
}
}Last updated
Was this helpful?