Teams
Create and manage teams as reusable groups of users.
Teams offer a convenient way to assign roles and access to multiple users at once. This helps maintain large-scale projects more efficiently by reducing overhead in user-by-user management.
The unique id of the organization
Identifier of the page results to fetch.
The number of results per page
The unique identifier of a member of the organization. Only teams they can manage will be returned.
If provided, only teams whose name contains the given parameter will be returned. Case insensitive.
OK
GET /v1/orgs/{organizationId}/teams HTTP/1.1
Host: api.gitbook.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
OK
{
  "next": {
    "page": "text"
  },
  "count": 1,
  "items": [
    {
      "object": "team",
      "id": "text",
      "title": "text",
      "members": 1,
      "spaces": 1,
      "createdAt": "2025-10-31T06:35:41.977Z",
      "permissions": {
        "admin": true,
        "view": true
      }
    }
  ]
}The unique id of the organization
Title of the team
A list of organization member identifiers
Team has been created
PUT /v1/orgs/{organizationId}/teams HTTP/1.1
Host: api.gitbook.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 35
{
  "title": "text",
  "members": [
    "text"
  ]
}Team has been created
{
  "object": "team",
  "id": "text",
  "title": "text",
  "members": 1,
  "spaces": 1,
  "createdAt": "2025-10-31T06:35:41.977Z",
  "permissions": {
    "admin": true,
    "view": true
  }
}The unique id of the organization
The unique ID of the Team
OK
GET /v1/orgs/{organizationId}/teams/{teamId} HTTP/1.1
Host: api.gitbook.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
OK
{
  "object": "team",
  "id": "text",
  "title": "text",
  "members": 1,
  "spaces": 1,
  "createdAt": "2025-10-31T06:35:41.977Z",
  "permissions": {
    "admin": true,
    "view": true
  }
}The unique id of the organization
The unique ID of the Team
The team did not exist in the organization.
No content
The team was deleted from the organization.
DELETE /v1/orgs/{organizationId}/teams/{teamId} HTTP/1.1
Host: api.gitbook.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
The unique id of the organization
The unique ID of the Team
Title of the team
The team has been updated
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"
}The team has been updated
{
  "object": "team",
  "id": "text",
  "title": "text",
  "members": 1,
  "spaces": 1,
  "createdAt": "2025-10-31T06:35:41.977Z",
  "permissions": {
    "admin": true,
    "view": true
  }
}Last updated
Was this helpful?