Manual
CLI
API
Log in Get started free

Add a team to a project

Gives a team a role in the project.

Gives a team a role in the project.

HTTP
POST /projects/{projectId}/teams

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.

Request body #

JSON.

FieldTypeRequiredDescription
teamIdstringyesThe id of a team of your organisation.
rolestringyesmanager, reviewer or translator.
JSON
{ "teamId": "0197a3c5-3c42-7f33-96ea-8a2d4b9f1c53", "role": "translator" }

Response 201 #

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 teamId is not a team of your organisation (unknown).
429rate_limitedToo many requests, see Rate limiting.

See Errors for the error format.