Rotate an API key
rotate_api_keyRotate an API key: the old secret remains valid for 24 hours while a new one is issued, letting you deploy without gaps. Save the returned secret immediately.
Instructions
Issue a replacement secret. The old key keeps working for 24 hours so a deploy can roll over without a gap. The new secret is returned once; hand it to the user immediately.
Requires scope api_keys:write.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The record id, e.g. "6a96a3ead6e886d42462dd3e". |