api-keys
Rotate Api Key
Rotate a key: mint a new one with the same name + scopes + rate limits, soft-revoke the old one. Returns the NEW full key (shown once).
Use this when a key may have been leaked or as part of regular hygiene. The new key takes effect immediately; the old key is dead immediately (no overlap window — clients should swap atomically).
post/api/v1/api-keys/{key_id}/rotate
Request
- Base URL: https://api.badgeia.com
- URL: https://api.badgeia.com/api/v1/api-keys/{key_id}/rotate
- Auth: none declared
Path parameters
key_idstring uuid required
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.