rotate_webhook_endpoint_secret
Rotate the signing secret only with explicit operator authorization and confirm_rotation:true. Old signatures overlap for 24 hours; update the receiver's secure secret configuration. Never expose either secret in logs or prompts.
Instructions
Rotate the signing secret only with explicit operator authorization and confirm_rotation:true. Old signatures overlap for 24 hours; update the receiver's secure secret configuration. Never expose either secret in logs or prompts. Requires webhook.manage. Uses the same bounded control plane and tenant/agent/Live-Sandbox authorization as /api/v1/webhooks/endpoints. Reuse the exact idempotency_key and input after an uncertain mutation. Webhook docs: https://mailbox.bot/docs/webhooks.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endpoint_id | Yes | Webhook endpoint id (UUID) from list_webhook_endpoints. | |
| idempotency_key | Yes | A new UUID for this one intent; reuse it only to retry the identical request. | |
| confirm_rotation | Yes | Must be true, and only with the operator's explicit authorization. The old secret keeps verifying for 24 hours. | |
| expected_revision | Yes | The endpoint's current revision from list_webhook_endpoints; a stale revision is refused so concurrent edits are never overwritten. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |