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
Host: sentry.io
Authorization: Bearer <token>
Content-Type: application/json

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

{
  "avatar": {
    "avatarType": "letter_avatar", 
    "avatarUuid": null
  }, 
  "dateCreated": "2018-11-06T21:20:22.924Z", 
  "hasAccess": true, 
  "id": "4", 
  "isMember": false, 
  "isPending": false, 
  "memberCount": 0, 
  "name": "The Inflated Philosophers", 
  "slug": "the-obese-philosophers"
}