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

headerAuthorizationBearer <API key>

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

Path Parameters

id*string
Formatuuid
keyId*string
Formatuuid

Response Body

Revoked

application/json
  1. response
data*unknown
Example Request
curl -X DELETE 'https://example.com/api/v1/tenants/497f6eca-6276-4993-bfeb-53cbbbba6f08/keys/497f6eca-6276-4993-bfeb-53cbbbba6f08'
Example Response
{  "data": null}