OverviewPlatformsAPI Reference
API Keys

Revoke an API key

Revokes the key. The API refuses it right away, and cached checks catch up within a few minutes.


DELETE
/v1/api-keys/{id}

Authorization

bearerAuth
AuthorizationBearer <token>

An API key from POST /v1/api-keys. Keys start with ref_.

In: header

Path Parameters

id*string

The API key's id (key_...).

Length1 <= length

Response Body

application/json

application/json

curl -X DELETE "https://example.com/v1/api-keys/key_abc123"
Empty
Was this page helpful?