rotate_webhook_endpoint_secret
Rotate the signing secret; requires confirm_rotation:true. Old signatures overlap for 24 hours while the receiver's secure secret configuration is updated. Requires webhook.manage. Uses the same bounded control plane and tenant/agent/Live-Sandbox authorization as /api/v1/webhooks/endpoints. A repeated idempotency_key with the same input replays the stored result.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"expected_revision": "<expected_revision>",
"idempotency_key": "<idempotency_key>",
"endpoint_id": "<endpoint_id>",
"confirm_rotation": "<confirm_rotation>"
},
"name": "rotate_webhook_endpoint_secret"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endpoint_id | Yes | Webhook endpoint id (UUID). | |
| idempotency_key | Yes | A UUID for this one intent; the same key replays the identical request. | |
| confirm_rotation | Yes | true confirms the rotation. The old secret keeps verifying for 24 hours. | |
| expected_revision | Yes | The endpoint's current revision; a stale revision is refused so concurrent edits are never overwritten. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |