owner and member.
List Your Teams
200 OK
Create a Team
201 Created - returns the team. The slug is derived from the name; you don’t set
it. You become the owner.
Get a Team
404 if the team doesn’t exist or you’re not a member of it - the two are deliberately
indistinguishable.
Update a Team
403 otherwise).
Delete a Team
200 OK
Switch Active Team
403 if you
aren’t a member of that team.
An API token is bound to the team that was active when you created
it, and switching does not move it. A token always acts on its own team, which is what makes it
safe to leave in CI.
Members
List Members
List Members With Names
name and email resolved, which is what the team settings screen
renders. Use this when you want to show who someone is rather than just their user ID.
Add a Member
201 Created - returns the membership. Owner-only.
Remove a Member
200 OK
Invitations
For inviting someone who doesn’t have an account yet. An invitation is a signed link, valid for 7 days.Send an Invitation
201 Created
409 if that email already belongs to a member of this team.
List Pending Invitations
Revoke an Invitation
{"status": "deleted"}.
Look Up an Invitation
404 for a token that is unknown or expired.
Accept an Invitation
email, name or password while signed out returns 401.
Response: 200 OK
status is already_member if you were already on the team; either way the invitation is consumed
and the team becomes your active one.