API Keys

Rotate Api Key

Rotate an API key: invalidate the old secret and issue a new one atomically, preserving the key's id, name, and scopes.

The new plaintext key is returned once in this response.

post/api/v1/api-keys/{key_id}/rotate

Path parameters

key_idstring required

Response

Successful Response

api_keystring required
messagestring

Changes

No recorded changes to this endpoint across all 1 revision of this API.