Update a Team
Update various attributes and configurable settings for the given team.
Path Parameters
organization_slug
(string)REQUIREDThe slug of the organization the team belongs to.
team_slug
(string)REQUIREDThe slug of the team to get.
Body Parameters
name
(string)REQUIREDThe new name for the team.
slug
(string)A new slug for the team. It has to be unique and available.
Scopes
You need to authenticate via bearer auth token.
<auth_token>
requires the following scopes:team:write
PUT /api/0/teams/{organization_slug}/{team_slug}/
curl https://sentry.io/api/0/teams/{organization_slug}/{team_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"
}