ReferenceApi keys

Revoke an API key

Revokes the credential at the gateway **first**, then tombstones the record — so there is no window where a revoked key still authenticates.

DELETE
/api/v1/api-keys/{key_id}

Authorization

ApiKeyAuth
x-api-key<token>

A platform key (ck_live_…). Mint one in the console under Settings → API Keys.

In: header

Path Parameters

key_id*string

Query Parameters

reason?string

Response Body

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