StatusDashboard
API Keys

Delete API key

Revoke an API key.

View Markdown

DELETE /app/api-keys/{keyId}

Permanently revokes one of the authenticated user's API keys. The next request using that key is rejected with 403 Forbidden. Users can only revoke their own keys.

Requires the API access feature entitlement (enabledFeatures.api).


Path parameters

ParameterTypeDescription
keyIdstringThe ID of the API key to revoke (the portion before the : in the full key string).

Request

See API Basics for required headers.


Sample request

curl -X DELETE https://api.statusdashboard.com/app/api-keys/bcf847abf5c6 \
  -H "Authorization: Bearer bcf847abf5c6:def456"

Sample response

Status: 204 No Content

No response body.


Error responses

StatusWhen
403Invalid or revoked API key, missing API access feature, or insufficient permissions.

On this page

We use cookies

We use essential cookies to keep the site working, and optional analytics cookies to understand how it's used. Read our Privacy Policy.