Api referenceEndpointsAdmin
Revoke a tenant's API key (instance admin)
DELETE
Every call with the key is refused from now on. Revoking a revoked key changes nothing. The
key making the call cannot be revoked (409). A key of another tenant is a 404. Recorded as
key.revoke in the caller's audit log and in the tenant's.
tenantKeyheader
AuthorizationBearer <token>Tenant API key, ohs_sk_ + 43 base62 characters.
tenant_id*stringThe id of a tenant; any other value is a 404.
Format
uuidkey_id*stringFormat
uuidRevoked.
curl -X DELETE 'http://localhost:8080/v1/admin/tenants/497f6eca-6276-4993-bfeb-53cbbbba6f08/keys/497f6eca-6276-4993-bfeb-53cbbbba6f08' \ -H 'Authorization: Bearer ohs_sk_...'Empty