v1

latestOpenAPI 3.0.3Apache 2.02026-07-142201861.5 MB
Teams

Update an Organization Member's Team Role

The relevant organization member must already be a part of the team.

Note that for organization admins, managers, and owners, they are automatically granted a minimum team role of admin on all teams they are part of. Read more about team roles.

put/api/0/organizations/{organization_id_or_slug}/members/{member_id}/teams/{team_id_or_slug}/

Path parameters

organization_id_or_slugstring required

The ID or slug of the organization the resource belongs to.

member_idstring required

The ID of the organization member to change

team_id_or_slugstring required

The ID or slug of the team the resource belongs to.

Request body

teamRole'contributor' | 'admin'

The team-level role to switch to. Valid roles include:

  • contributor - Contributors can view and act on events, as well as view most other data within the team's projects.
  • admin - Admin privileges on the team. They can create and remove projects, and can manage the team's memberships.

Response

isActiveboolean required
teamRole'contributor' | 'admin' required