keys
Rotate Key
Changed onRotate an API key's secret in place, within the caller's organization.
Requires master key authentication.
Generates a new secret for the same key row (id, user, name, expiry, and metadata are preserved) and returns the new raw key once, using the same response shape as key creation. The previous secret stops authenticating immediately; there is no grace window.
post/api/v1/keys/{key_id}/rotate
Request
- The document declares no server URL.
- Auth: one of:
- API key in header Otari-Key
- API key in header x-api-key
Path parameters
key_idstring required
Response
Successful Response
Changes
- info
added the optional property
to the response with the status
- info
- info
added the required property
to the response with the status
- info