Skip to main content
Deleting a key is irreversible. Any service using this key will immediately lose access.

Endpoint

DELETE /api-keys/{keyId}
Auth: API Key or Session

Path parameters

keyId
string
required
ID of the key to delete. Retrieve it from List API Keys.

Response

{
  "success": true,
  "message": "API key deleted"
}
Status codes: 200 success · 401 unauthorized · 403 forbidden · 404 not found · 500 error

Example

curl -X DELETE http://localhost:3000/api-keys/key_abc123 \
  -H "Authorization: Bearer <api_key>"
To temporarily block access without permanent deletion, use Update API Key with "enabled": false instead.

List API Keys

Find the key ID before deleting.

Update API Key

Disable a key temporarily.