Teams
Create and manage the teams of a project, which group its users and can own projects.
A team groups users inside a project, for example the users of one customer, and can own projects. A team gets access to a project through a grant.
Create a team, then read, rename and query it. Deactivating a team removes its
memberships and keeps the team readable with status deactivated. A team that
still owns a project cannot be deactivated yet.
Team memberships are created when you create a user with team_id, or when the
platform bootstraps a personal team. Read them with
GET /users/{user_id}/teams, GET /users/me/teams, or
POST /users/query filtered by team_id. There is no standalone add or remove
membership endpoint yet, and team-member invitations answer 501. See
Access and memberships
and Project, team, and user.
| Method | Path | Summary |
|---|---|---|
POST | /teams | Create a team |
POST | /teams/query | Query teams |
GET | /teams/{team_id} | Get a team by ID |
PATCH | /teams/{team_id} | Update a team |
DELETE | /teams/{team_id} | Deactivate a team |
POST | /teams/{team_id}/memberships | Create a team membership |
DELETE | /teams/{team_id}/memberships/{user_id} | Delete a team membership |
Was this helpful?