Manual
CLI
API
Log in Get started free

Change the role of a team

Changes the role a team has in the project.

Changes the role a team has in the project.

HTTP
PATCH /projects/{projectId}/teams/{teamId}

Access: Session token only. API keys get 403 with insufficient_scope.

Role: Project manager (organisation owners and admins are managers of every project).

Path parameters #

ParameterDescription
projectIdThe id of the project.
teamIdThe id of the team.

Request body #

JSON.

FieldTypeRequiredDescription
rolestringyesmanager, reviewer or translator.
JSON
{ "role": "reviewer" }

Response 200 #

The teams, as in List project teams.

Errors #

StatuserrorWhen
401unauthenticatedThe token is missing or not valid.
404not_foundThe project does not exist in your organisation, you have no access to it, or projectId is not a UUID.
403forbiddenYou are a member of the project, but not a manager.
422invalid_requestrole is not valid, or the team is not in your organisation.
429rate_limitedToo many requests, see Rate limiting.

See Errors for the error format.