Teams
A team in GitBook is the entity of a group that members of an organization belong to.
Last updated
Was this helpful?
A team in GitBook is the entity of a group that members of an organization belong to.
Last updated
Was this helpful?
Creates a team in the specified organization.
/orgs/{organizationId}/teams
The unique id of the organization
Title of the team
A list of organization member identifiers
Gets a specific team in an organization.
/orgs/{organizationId}/teams/{teamId}
The unique id of the organization
The unique ID of the Team
Updates a specific team in an organization.
/orgs/{organizationId}/teams/{teamId}
The unique id of the organization
The unique ID of the Team
Title of the team
Deletes a specific team in an organization
/orgs/{organizationId}/teams/{teamId}
The unique id of the organization
The unique ID of the Team
No body
Lists members, and their roles, for the specified organization team.
/orgs/{organizationId}/teams/{teamId}/members
The unique id of the organization
The unique ID of the Team
Identifier of the page results to fetch.
The number of results per page
Updates members of an organization team, either adding or removing them. If a the same user is included as both an add and a remove, they will be removed from the team.
/orgs/{organizationId}/teams/{teamId}/members
The unique id of the organization
The unique ID of the Team
No body
Add or updates member in the specified organization team.
/orgs/{organizationId}/teams/{teamId}/members/{userId}
The unique id of the organization
The unique ID of the Team
The unique ID of the User
"The role of a team member. "owner": Can manage team members. "member": Is a member of the team.
owner
, member
No body
Deletes member from the specified organization team.
/orgs/{organizationId}/teams/{teamId}/members/{userId}
The unique id of the organization
The unique ID of the Team
The unique ID of the User
No body
Lists teams for the specified organization.
/orgs/{organizationId}/teams
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.