APIAuth

Revoke an API key

Revoke an API key. Calls made with it stop working immediately.

DELETE
/api-keys/{key_id}

Revoke an API key. Calls made with it stop working immediately.

Authorization

ApiKeyAuth
headerAuthorizationBearer <token>

Bearer token authentication. Send an API key (a saai_api_-prefixed token) as Authorization: Bearer <token>.

Required permission

manage_api_keys

Path Parameters

key_id*string
Formatuuid

Response Body

There is no content to send for this request, but the headers may be useful.

curl -X DELETE "https://example.com/api-keys/497f6eca-6276-4993-bfeb-53cbbbba6f08"
Empty