Update a Team

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.

Scopes

<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
{
  "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",
  "access": [
    "event:read",
    "event:write",
    "team:read",
    "org:read",
    "project:read",
    "member:read",
    "project:releases",
    "alerts:read"
  ],
  "flags": {
    "idp:provisioned": false
  },
  "teamRole": "contributor"
}