Lists the teams with access to the project.
HTTP
GET /projects/{projectId}/teamsAccess: Session token only. API keys get 403 with insufficient_scope.
Role: Any role in the project.
Path parameters #
| Parameter | Description |
|---|---|
projectId | The id of the project. |
Response 200 #
A list of teams.
JSON
[
{
"id": "0197a3c5-3c42-7f33-96ea-8a2d4b9f1c53",
"name": "Core",
"icon": "👥",
"accent": null,
"description": "Product translators",
"members": 4,
"role": "translator",
"languages": ["DE-DE", "FR-FR"]
}
]Response fields #
| Field | Type | Description |
|---|---|---|
id | string | The id of the team. |
name | string | The name. |
icon | string | An emoji. |
accent | string or null | A colour. |
description | string | The description. |
members | integer | Number of people in the team. |
role | string | The role of the team in this project. |
languages | list of string | The languages of the team in upper case, or ["ALL"] when the team has access to all projects. |
Errors #
| Status | error | When |
|---|---|---|
| 401 | unauthenticated | The token is missing or not valid. |
| 404 | not_found | The project does not exist in your organisation, you have no access to it, or projectId is not a UUID. |
| 429 | rate_limited | Too many requests, see Rate limiting. |
See Errors for the error format.