Actions52
- Emails Actions
- Domains Actions
- APIKeys Actions
- Templates Actions
- Audiences Actions
- Subscribers Actions
- Webhooks Actions
- Suppressions Actions
- Contacts Actions
- Events Actions
- EmailVerifications Actions
- EmailVerificationLists Actions
Webhooks → Delete a webhook
AI-generatedSummary
Delete a webhook by its unique ID on the Emailit service, optionally handling pagination and customizing the request with additional headers, query parameters, or request body content.
Inputs
- id (required) — The unique identifier of the webhook to delete.
- returnAll — Whether to return all paginated results or just a single page (default is false).
- options.customBody — Optional JSON object to deep-merge into the request body, allowing arbitrary data to be sent with the delete request.
- options.headerFilters — Optional custom HTTP headers to include in the delete request.
- options.queryFilters — Optional query parameters to append as filters in the delete request URL.
- options.batching — Optional batching parameters to control the number of items processed per batch and the delay between batches, which can help avoid rate limiting.
- options.debug — Enable to include detailed debug information about the HTTP request in the node output for troubleshooting.
- options.pagination — Settings to configure how pagination is handled when multiple pages of data may be affected or returned, including mode, page size, parameter names, cursor handling, maximum pages to fetch, and request intervals.
- options.timeout — Timeout in milliseconds to wait for server response headers before aborting the request; defaults to 300000 ms (5 minutes).
Output shape
a single JSON object representing the API response confirming webhook deletion or containing error details.
Supports optional pagination and batching parameters although deletion typically targets a single webhook by ID. Debug option outputs the sent request details under a debug property for diagnostics.
Examples
Example 1: Delete webhook with ID 'abc123' without additional options.
Set 'id' to 'abc123' and leave other options at defaults.
Example 2: Delete webhook with custom headers and debug enabled.
Provide 'id', set custom HTTP headers via 'options.headerFilters', and enable 'options.debug' to capture request details.