Skip to main content
PATCH

Authorizations

Authorization
string
header
required

Send Authorization: Bearer <token>, where <token> is a personal access token (PAT) or an OAuth2 access token. A PAT authenticates as the user who owns it. See Authentication.

Scopes

write

Write access (all other requests)

Path Parameters

id
integer
required

Id of the team.

Required range: x >= 0

Body

application/json
name
string

New name of the team.

Example:

"Search team"

ownerId
string<uuid>

id of the new owner, as returned by the members list. Must already be a member of the team.

Example:

"7d2e4f6a-1b3c-4d5e-8f9a-0b1c2d3e4f5a"

Response

Team updated

id
integer
required

Id of the team.

Example:

34

name
string
required

Name of the team.

Example:

"Search team"

organizationId
integer
required

Id of the organization of the team.

Example:

12

ownerId
string<uuid>
required

id of the user who owns the team.

Example:

"3f1c8a2e-5b7d-4e9a-9c1f-2a6b8d4e0f13"

isAdmin
boolean
required

Whether the authenticated user owns the team or its organization, and can manage it.

Example:

true