Revoke (soft-delete) a partner API key
DELETE/v1/partner/account/keys/:key_id
Sets revoked_at on the key. The key row is kept for audit; auth lookups now reject it. The associated 4h grace row (if any) is cascaded away.
You cannot revoke the key you are currently authenticated with — rotate it or call from a different key.
Request
Responses
- 200
- 400
- 401
- 404
Revoked
Cannot revoke the current authenticating key
Missing or invalid X-API-Key
Key not found or already revoked