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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | No | ||
| list_id | Yes | ||
| webhook_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |