For the complete documentation index, see llms.txt. This page is also available as Markdown.

Add a team member

Add or updates member in the specified organization team.

put
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
organizationIdstringRequired

A unique entity identifier

Pattern: ^[a-zA-Z0-9_-]+$
teamIdstringRequired

A unique entity identifier

Pattern: ^[a-zA-Z0-9_-]+$
userIdstringRequired

The unique ID of the User

Body
rolestring · enumOptional

"The role of a team member. "owner": Can manage team members. "member": Is a member of the team.

Possible values:
Responses
204

Member has been added to the team

No content

put/orgs/{organizationId}/teams/{teamId}/members/{userId}
PUT /v1/orgs/{organizationId}/teams/{teamId}/members/{userId} HTTP/1.1
Host: api.gitbook.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 16

{
  "role": "owner"
}
204

Member has been added to the team

No content

Last updated

Was this helpful?

Powered by GitBook