Skip to content

Latest commit

 

History

History
63 lines (43 loc) · 2.64 KB

File metadata and controls

63 lines (43 loc) · 2.64 KB
description
A team in GitBook is the entity of a group that members of an organization belong to.

Teams

GET teams in an organization

{% swagger src="https://api.gitbook.com/openapi.json" path="/orgs/{organizationId}/teams" method="get" expanded="true" %} https://api.gitbook.com/openapi.json {% endswagger %}

PUT a team in an organization

{% swagger src="https://api.gitbook.com/openapi.json" path="/orgs/{organizationId}/teams" method="put" expanded="true" %} https://api.gitbook.com/openapi.json {% endswagger %}

GET a specific team in an organization

{% swagger src="https://api.gitbook.com/openapi.json" path="/orgs/{organizationId}/teams/{teamId}" method="get" expanded="true" %} https://api.gitbook.com/openapi.json {% endswagger %}

PATCH a specific team in an organization

{% swagger src="https://api.gitbook.com/openapi.json" path="/orgs/{organizationId}/teams/{teamId}" method="patch" expanded="true" %} https://api.gitbook.com/openapi.json {% endswagger %}

DELETE a specific team in an organization

{% swagger src="https://api.gitbook.com/openapi.json" path="/orgs/{organizationId}/teams/{teamId}" method="delete" expanded="true" %} https://api.gitbook.com/openapi.json {% endswagger %}

GET team members in an organization

{% swagger src="https://api.gitbook.com/openapi.json" path="/orgs/{organizationId}/teams/{teamId}/members" method="get" expanded="true" %} https://api.gitbook.com/openapi.json {% endswagger %}

PUT team members in an organization

{% swagger src="https://api.gitbook.com/openapi.json" path="/orgs/{organizationId}/teams/{teamId}/members" method="put" expanded="true" %} https://api.gitbook.com/openapi.json {% endswagger %}

PUT a specific team member in an organization

{% swagger src="https://api.gitbook.com/openapi.json" path="/orgs/{organizationId}/teams/{teamId}/members/{userId}" method="put" expanded="true" %} https://api.gitbook.com/openapi.json {% endswagger %}

DELETE a specific team member in an organization

{% swagger src="https://api.gitbook.com/openapi.json" path="/orgs/{organizationId}/teams/{teamId}/members/{userId}" method="delete" expanded="true" %} https://api.gitbook.com/openapi.json {% endswagger %}