Skip to main content
Rezolve Ai
API ReferenceTenantsIdKeysKeyid

Revoke a tenant key

DELETE
/tenants/{id}/keys/{keyId}

Revoke one of the tenant's keys. It stops working at once. Partner accounts only: call it with your partner account's account-wide key, which needs the admin scope, and without X-Tenant-Id.

Authorization

AuthorizationBearer <token>

API key in the Authorization header: Authorization: Bearer ace_live_.... Use an ace_test_... key for the free, rate-capped sandbox.

In: header

Path Parameters

id*string
Formatuuid
keyId*string
Formatuuid

Response Body

application/json

application/json

application/json

application/json

curl -X DELETE "https://example.com/tenants/497f6eca-6276-4993-bfeb-53cbbbba6f08/keys/497f6eca-6276-4993-bfeb-53cbbbba6f08"
{  "data": null}