Update a Team

PUT /api/0/teams/{organization_id_or_slug}/{team_id_or_slug}/

Update various attributes settings for the given team.

Path Parameters

organization_id_or_slug (string)
REQUIRED

The id or slug of the organization the team belongs to.

team_id_or_slug (string)
REQUIRED

The id or slug of the team to get.

Body Parameters

slug (string)

Uniquely identifies a team and is used for the interface. Must be available.

name (string)

[DEPRECATED] The name for the team.

Scopes

<auth_token> requires one of the following scopes:
  • 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 '{"name":"The Inflated Philosophers","slug":"the-inflated-philosophers"}'
RESPONSESCHEMA
{
  "avatar": {
    "avatarType": "letter_avatar"
  },
  "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"
}