Rotate an API key’s secret. Returns the new full key (shown ONCE).
Required Role: ADMIN or OWNER
Generates a new secret while keeping the same key ID, name, and scopes. The old secret is immediately invalidated. All subsequent requests must use the new key.
Security Note: The full_key field is shown only in this response.
Store it securely — it cannot be retrieved again.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Successful Response
Schema returned only at creation time -- includes the full key.
The full_key field is shown ONCE and never stored or returned again.