Actions71
- Settings Actions
- Subscribers Actions
- Create Subscriber
- Manage Subscriber Lists By Query
- Get Subscribers
- Delete Subscriber By List
- Get Subscriber By Id
- Update Subscriber By Id
- Delete Subscriber By Id
- Manage Subscriber Lists
- Manage Subscriber List By Id
- Manage Blocklist By Subscriber List
- Manage Blocklist Subscribers By Id
- Export Subscriber Data By ID
- Get Subscriber Bounces By Id
- Delete Subscriber Bounces By Id
- Subscriber Send Optin By Id
- Delete Subscriber By Query
- Blocklist Subscribers Query
- Bounces Actions
- Import Actions
- Campaigns Actions
- Update Preview Campaign By Id
- Get Campaigns
- Create Campaign
- Get Campaign By Id
- Update Campaign By Id
- Delete Campaign By Id
- Get Running Campaign Stats
- Get Campaign Analytics
- Preview Campaign By Id
- Preview Campaign Text By Id
- Update Campaign Status By Id
- Update Campaign Archive By Id
- Create Campaign Content By Id
- Test Campaign By Id
- Media Actions
- Templates Actions
- Public Actions
- Miscellaneous Actions
- Admin Actions
- Logs Actions
- Lists Actions
- Transactional Actions
- Maintenance Actions
Overview
This node operation deletes a campaign by its unique identifier (ID) in the Listmonk system. It is useful for scenarios where you need to programmatically remove a specific campaign, such as cleaning up outdated or test campaigns, or managing campaigns dynamically based on workflow conditions.
Use Case Examples
- Deleting a campaign after it has been completed to keep the campaign list clean.
- Removing a campaign that was created by mistake or is no longer relevant.
Properties
| Name | Meaning |
|---|---|
| Id | The unique identifier of the campaign to be deleted. |
| Request Options | Additional options to customize the HTTP request such as batching, SSL certificate validation, proxy settings, and timeout duration. |
Output
JSON
success- Indicates whether the campaign deletion was successful.message- Additional information or confirmation message about the deletion operation.
Dependencies
- Requires an API key credential for authenticating with the Listmonk API.
Troubleshooting
- Ensure the campaign ID provided exists; otherwise, the deletion will fail with an error indicating the campaign was not found.
- If SSL certificate validation fails and the 'Ignore SSL Issues' option is not enabled, the request will be blocked. Enable this option only if you trust the server.
- Proxy settings must be correctly configured if used; incorrect proxy details can cause request failures.
- Timeouts can occur if the server is slow to respond; increase the timeout setting if necessary.
Links
- Listmonk API Documentation - Delete Campaign By Id - Official API documentation for deleting a campaign by its ID in Listmonk.