Deactivate API keys either in bulk by request_id or individually.
Option A — Deactivate by request ID: Pass a request_id in the request body to deactivate all keys from that generation request.
Option B — Deactivate individual key: Set the key you want to deactivate in the Authorization header. No request body is required.
Bearer authentication header in the form Bearer
Optionally provide a request_id to bulk-deactivate keys. If omitted, the key in the Authorization header is deactivated.
The request ID from a previous /generate-keys call. All keys from that request will be deactivated.
"550e5678-e29b-41d4-a716-446655441234"
Keys deactivated successfully.
A confirmation message.
"Successfully deactivated 5 key(s)"