Update a Team

PUT /api/0/teams/{organization_slug}/{team_slug}/

Update various attributes and configurable settings for the given team.

Path Parameters:
  • organization_slug (string) – the slug of the organization the team belongs to.
  • team_slug (string) – the slug of the team to get.
Parameters:
  • name (string) – the new name for the team.
  • slug (string) – a new slug for the team. It has to be unique and available.
Authentication:required
Method:PUT
Path:/api/0/teams/{organization_slug}/{team_slug}/

Example

PUT /api/0/teams/the-interstellar-jurisdiction/the-obese-philosophers/ HTTP/1.1
Authorization: Bearer {base64-encoded-key-here}
Host: sentry.io
Content-Type: application/json

{
  "name": "The Inflated Philosophers"
}
HTTP/1.1 200 OK
Allow: GET, PUT, DELETE, HEAD, OPTIONS
Content-Language: en
Content-Length: 246
Content-Type: application/json
Vary: Accept-Language, Cookie
X-Content-Type-Options: nosniff
X-Frame-Options: deny
X-Xss-Protection: 1; mode=block

{
  "slug": "the-obese-philosophers",
  "name": "The Inflated Philosophers",
  "hasAccess": true,
  "isPending": false,
  "dateCreated": "2018-08-22T18:24:15.867Z",
  "avatar": {
    "avatarUuid": null,
    "avatarType": "letter_avatar"
  },
  "isMember": false,
  "id": "4"
}