api_key_rotate
Generate a new API key, verify it with a test request, and revoke the old key. The new key is returned only once, so save it immediately.
Instructions
Rotate the current API key: generates a new key, verifies it works by making a test request, then revokes the old key. Returns the new key and rotation status. IMPORTANT: Save the new key immediately — it will not be shown again.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token_name | No | Optional name for the newly generated API key. |