Skip to main content
DELETE
Revoke an API key

Authorizations

Authorization
string
header
required

A WorkOS access token returned by the self-serve email authorization flow. A claimed agent access token is also accepted for creating an API key, and only for that. API keys are not accepted for API-key administration.

Path Parameters

id
string
required

API key identifier returned by the list operation.

Minimum string length: 1
Example:

"key_123"

Response

The API key was revoked.