Rotate/Regenerate an API Key
API Keys
Rotate/Regenerate an API Key
Generates and returns a new secure raw key string for an existing API Key while keeping metadata, scopes, and association unchanged.
POST
Rotate/Regenerate an API Key
Authorizations
Use an access token retrieved from login (Bearer sess_...) or a programmatic API key (Bearer ak_...).
Path Parameters
The unique UUID of the API Key to regenerate.
Response
API key regenerated successfully
Unique API Key identifier.
Human-readable name of the key.
The fully generated secure raw API Key string. This is returned ONLY ONCE.
Example:
"ak_7f9ba3271cf881309d9be8c9c0fcae47a95b8d29c3f0b2da8e89cf21e5c3df01"
Timestamp of creation.

