Rotate Api Key
rotate_api_keyReplace the API key making this call with a fresh one carrying the same scopes. WARNING: this IRREVERSIBLY deactivates the current key the moment it succeeds — every other caller using that key stops working immediately, so do not call it on a shared credential. The new key is returned exactly once in the response and cannot be retrieved again. A delegated child key cannot rotate itself. Requires API-key authentication.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| expires_in_days | No | Lifetime of the replacement key in days (default 90). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes |