---
title: "Update a Team"
url: https://docs.sentry.io/api/teams/update-a-team/
---

# Update a Team | Sentry Docs

PUT /api/0/teams/{organization\_id\_or\_slug}/{team\_id\_or\_slug}/

Update various attributes and configurable settings for the given team.

### Path Parameters

* `organization_id_or_slug` *(string)*

  REQUIRED

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

* `team_id_or_slug` *(string)*

  REQUIRED

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

### Body Parameters

* `slug` *(string)*

  REQUIRED

  Uniquely identifies a team. This is must be available.

* `name` *(string)*

  The name of the team.

### Scopes

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

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

* `team:admin`
* `team:write`

```
curl https://sentry.io/api/0/teams/{organization_id_or_slug}/{team_id_or_slug}/ \
 -H 'Authorization: Bearer <auth_token>' \
 -X PUT \
 -H 'Content-Type: application/json' \
 -d '{}'
```

RESPONSESCHEMA

```
Copied
{
  "avatar": {
    "avatarType": "letter_avatar",
    "avatarUuid": null,
    "avatarUrl": null
  },
  "dateCreated": "2018-11-06T21:20:08.115Z",
  "hasAccess": true,
  "id": "3",
  "isMember": false,
  "isPending": false,
  "memberCount": 1,
  "name": "The Inflated Philosophers",
  "slug": "the-inflated-philosophers",
  "access": [
    "event:read",
    "event:write",
    "team:read",
    "org:read",
    "project:read",
    "member:read",
    "project:releases",
    "alerts:read"
  ],
  "flags": {
    "idp:provisioned": false
  },
  "teamRole": "contributor"
}
```

---

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.
