Create a team
GET /v2/teams lists every team you’re in, with your role and the member count.
The four roles
Roles are orderedviewer < member < admin < owner, and each one includes everything below it:
| Role | What it adds |
|---|---|
| Viewer | See the team, its members, and the projects shared with it. |
| Member | A higher rung than viewer when your effective access on a shared project is worked out (see below). |
| Admin | Invite and remove people, change member roles, rename the team, and manage project shares. |
| Owner | Delete the team. Every team has exactly one: the person who created it. |
Invite people
Invites go out by email. From a team you’re an admin (or owner) of:POST /v2/teams/invitations/<token>/accept.
To take back an invite:
GET /v2/teams/<team_id>/invitations lists the team’s invitations (admin and up).
Share a project with the team
Sharing works through grants: you give the whole team a role on a project you own.viewer, member, or admin (never owner), and a project can only be shared with a given team once. The shared project then shows up in every member’s project list, and they can open its Spaces, Frames, and logs.
Billing doesn’t move. Everything on a shared project keeps billing to the project’s owner, no matter which team member is using it.
How effective access works
Your effective role on a shared project is the lower of two things: your role in the team, and the team’s grant role on the project.- Grant is
admin, you’re aviewerin the team: you act as a viewer. - Grant is
viewer, you’re anadminin the team: still a viewer. The grant caps the whole team. - Grant is
admin, you’re amember: member.
404, not 403.
Revoke access
Change a grant’s role or remove it entirely (admin and up):DELETE /v2/teams/<team_id>/members/<user_id>, or PATCH the same path with a new role to promote or demote instead. Deleting the team itself (DELETE /v2/teams/<team_id>, owner only) removes its memberships, invitations, and grants in one go. The projects that were shared are untouched and stay with their owners.
Endpoints at a glance
| Endpoint | Minimum role |
|---|---|
GET / POST /v2/teams | any signed-in user |
POST /v2/teams/invitations/<token>/accept | any signed-in user |
GET on /v2/teams/<team_id>, its /members, its /grants | viewer |
PATCH /v2/teams/<team_id> | admin |
PATCH / DELETE /v2/teams/<team_id>/members/<user_id> | admin |
GET / POST / DELETE on /v2/teams/<team_id>/invitations | admin |
POST / PATCH / DELETE on /v2/teams/<team_id>/grants | admin |
Related
Frames
What your teammates can see inside a shared project
Plans and billing
Billing stays with the project owner
