mercury_delete_webhook
Permanently delete a webhook endpoint to stop event delivery. Use when decommissioning or removing integrations. Confirm with user as action is irreversible.
Instructions
Delete a webhook endpoint. DESTRUCTIVE — Mercury stops delivering events to that URL.
USE WHEN: decommissioning a webhook (URL no longer reachable, integration retired, accidental duplicate). ALWAYS confirm with the user — there is no undo, and any downstream system that depended on the events stops being notified.
DO NOT USE: to temporarily silence a webhook (use mercury_update_webhook with status: "paused" instead — reversible).
SIDE EFFECTS: permanent deletion on Mercury's side. Future events that would have fired this webhook are silently dropped — no replay. Past delivery history is also lost from the Mercury dashboard.
RETURNS: confirmation payload ({ deleted: true, ... } or similar).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| webhookId | Yes | The webhook endpoint ID |