rotate_webhook_secret
Rotate a webhook's signing secret. Owner/admin only. Returns the new secret plaintext EXACTLY ONCE (only secret_last4 is readable afterwards); the old secret stops signing new deliveries. 404 if the webhook belongs to another org. Mirrors POST /v1/webhooks/{id}:rotate-secret.
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": {
"org_id": "<org_id>",
"webhook_id": "<webhook_id>"
},
"name": "rotate_webhook_secret"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| org_id | Yes | ||
| webhook_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||