delete_webhook
Delete a webhook to immediately stop event notifications to its URL. This action is irreversible and requires list and webhook IDs.
Instructions
Delete a webhook, immediately stopping event notifications to its URL.
Irreversible. Do not use when you want to temporarily pause notifications; webhooks have no pause mechanism. Use create_webhook to set up a replacement afterward.
Returns 404 error if webhook_id or list_id is invalid.
Args: list_id: Audience/list ID (10-char alphanumeric, e.g. 'abc123def4'). Obtain from list_audiences. webhook_id: The webhook ID to delete. Obtain from list_webhooks.
Returns: JSON with status ("deleted"), webhook_id.
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": {
"list_id": "<list_id>",
"webhook_id": "<webhook_id>"
},
"name": "delete_webhook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | No | ||
| list_id | Yes | ||
| webhook_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |