Skip to content

Revoke a data-plane API key this partner minted

DELETE
/v1/partner/tenants/{id}/api-keys/{keyId}
curl --request DELETE \
--url https://api.emite.cr/v1/partner/tenants/example/api-keys/example

The key stops authenticating at once — with no grace, unlike the rotation of a mint with revokeExisting: true, and cutting short a grace one left running. Idempotent: an already-revoked key answers 204 too. Only a key this partner minted for that company: any other id answers 404 PARTNER_API_KEY_NOT_FOUND, and a company this partner does not manage 404 PARTNER_TENANT_NOT_FOUND.

id
required
string
keyId
required
string
x-partner-key
string

Partner app credential (ecp_*)

The key no longer authenticates. No body.