---
title: "Update an Organization Member's Team Role"
url: https://docs.sentry.io/api/teams/update-an-organization-members-team-role/
---

# Update an Organization Member's Team Role | Sentry Docs

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](https://docs.sentry.io/product/teams/roles.md).

### Path Parameters

* `organization_id_or_slug` *(string)*

  REQUIRED

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

* `member_id` *(string)*

  REQUIRED

  The ID of the organization member to change

* `team_id_or_slug` *(string)*

  REQUIRED

  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.

### Scopes

You need to [authenticate via bearer auth token.](https://docs.sentry.io/api/auth.md)

`<auth_token>` requires one of the following scopes:

* `member:admin`
* `member:read`
* `member:write`
* `org:admin`
* `org:read`
* `org:write`
* `team:admin`
* `team: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 '{}'
```

RESPONSESCHEMA

```
Copied
{
  "isActive": true,
  "teamRole": "admin"
}
```

---

Find other pages: [Sitemap](https://docs.sentry.io/sitemap.md) lists every page with a one-line summary, and [llms.txt](https://docs.sentry.io/llms.txt) gives an overview with guidance for agents.
