Update an Organization

PUT /api/0/organizations/{organization_slug}/

Update various attributes and configurable settings for the given organization.

Path Parameters:

organization_slug (string) – the slug of the organization the team should be created for.

Parameters:
  • name (string) – an optional new name for the organization.
  • slug (string) – an optional new slug for the organization. Needs to be available and unique.
Authentication:

required

Method:

PUT

Path:

/api/0/organizations/{organization_slug}/

Example

PUT /api/0/organizations/badly-misnamed/ HTTP/1.1
Authorization: Basic ___ENCODED_API_KEY___
Host: app.getsentry.com
Content-Type: application/json

{
  "name": "Impeccably Designated",
  "slug": "impeccably-designated"
}
HTTP/1.1 401 UNAUTHORIZED
Allow: GET, PUT, DELETE, HEAD, OPTIONS
Content-Language: en
Content-Length: 27
Content-Type: application/json
Vary: Accept-Language, Cookie
Www-Authenticate: xBasic realm="api"
X-Content-Type-Options: nosniff
X-Frame-Options: deny
X-Xss-Protection: 1; mode=block

{
  "detail": "Invalid token"
}