Skip to main content
DELETE
Delete API key
Revokes and deletes an API key.

Permissions

User must be owner or admin.

What Happens

  • API key is immediately revoked
  • Future requests with this key will fail with 401
  • Key cannot be restored (create a new one if needed)

Example

Use Cases

  • Rotate API keys for security
  • Remove compromised keys
  • Clean up unused keys

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

organizationId
string
required
id
string
required

Response

API key deleted successfully