Manage your team with the API
Create a team from existing organization members.
Before you begin
List organization members
curl --request GET \
--url "https://api.gitbook.com/v1/orgs/$ORGANIZATION_ID/members" \
--header "Authorization: Bearer $GITBOOK_TOKEN"Create a team
curl --request PUT \
--url "https://api.gitbook.com/v1/orgs/$ORGANIZATION_ID/teams" \
--header "Authorization: Bearer $GITBOOK_TOKEN" \
--header "Content-Type: application/json" \
--data '{
"title": "API documentation",
"members": [
"<memberId>"
]
}'Verify the team
Last updated
Was this helpful?