Skip to main content

Revoke the reseller API key (soft delete)

POST 

/admin/keys/:id/revoke

Immediately deactivates the key (revoked_at set) + invalidates the APCu auth cache. The record is preserved for audit. The reseller_id in the body is an ownership guard — another reseller's key returns 404 key_not_found.

Request

Responses

Key revoked