Delete a Client Key

DELETE /api/0/projects/{organization_slug}/{project_slug}/keys/{key_id}/

Delete a client key.

Path Parameters:
  • organization_slug (string) – the slug of the organization the client keys belong to.
  • project_slug (string) – the slug of the project the client keys belong to.
  • key_id (string) – the ID of the key to delete.
Authentication:

required

Method:

DELETE

Path:

/api/0/projects/{organization_slug}/{project_slug}/keys/{key_id}/

Example

DELETE /api/0/projects/the-interstellar-jurisdiction/pump-station/keys/6ab00bf12c8345f7ac2a48083406a964/ HTTP/1.1
Authorization: Basic ___ENCODED_API_KEY___
Host: app.getsentry.com
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"
}