Update an Organization Member's Team Role

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

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.

Path Parameters

organization_id_or_slug (string)

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

member_id (string)

The ID of the organization member to change

team_id_or_slug (string)

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

Body Parameters

teamRole (string)

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.


<auth_token> requires one of the following scopes:
  • member:admin
  • member:read
  • member:write
  • org:admin
  • org:read
  • org:write
curl https://sentry.io/api/0/organizations/{organization_id_or_slug}/members/{member_id}/teams/{team_id_or_slug}/ \
 -H 'Authorization: Bearer <auth_token>' \
 -X PUT \
 -H 'Content-Type: application/json' \
 -d '{}'
  "isActive": true,
  "teamRole": "admin"