extractr docs
Management

Revoke an API key

DELETE
/manage/keys/{id}

Authorization

BearerAuth
AuthorizationBearer <token>

Clerk session token (dashboard/management routes). In local dev mode use the X-Dev-User header instead.

In: header

Path Parameters

id*string

Response Body

application/json

application/json

application/json

curl -X DELETE "https://example.com/manage/keys/key_9f2c4b1a"
{  "ok": true}
{  "error": {    "code": "invalid_api_key",    "message": "The provided API key is invalid or has been revoked."  }}
{  "error": {    "code": "invalid_api_key",    "message": "The provided API key is invalid or has been revoked."  }}