Rotate Key
Rotate 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.
Path parameters
Response
Successful Response
Changes
Changed in 7 of the 143 revisions of this API.17
- ○
added the required property
to the response with the statusresponse-required-property-added
- ○
- ○
added the required property
to the response with the statusresponse-required-property-added
- ○
- ○
added the required property
to the response with the statusresponse-required-property-added
- ○
- ○
added the required property
to the response with the statusresponse-required-property-added
- ○
added the required property
to the response with the statusresponse-required-property-added
- ○
- ○
the endpoint scheme security
XApiKeyAuthwas added to the APIapi-security-added
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ○
endpoint added
endpoint-added
- ○
- ▲
api path removed without deprecation
api-path-removed-without-deprecation
This revision also has 21 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲