MailWizz icon

MailWizz

Automate marketing workflows with MailWizz using the latest API

List Segment → Delete

AI-generated

Overview

This node interacts with the MailWizz API to manage list segments, specifically supporting operations such as creating, deleting, retrieving, and updating segments within a mailing list. For the 'Delete' operation on a 'List Segment', it deletes a specified segment from a given list by using the list ID and segment ID. This is useful for automating the management of mailing list segments, such as removing outdated or irrelevant segments to keep the mailing lists organized and targeted.

Use Case Examples

  1. Deleting a segment from a mailing list to clean up unused segments.
  2. Automating segment management by removing segments that no longer meet criteria.

Properties

Name Meaning
List ID Identifier of the list that owns the segment, required to specify which list the segment belongs to.
Segment ID Unique identifier of the segment within the list, required to specify which segment to delete.

Output

JSON

  • json - Response from MailWizz API after deleting the segment, typically includes status or confirmation details.

Dependencies

  • MailWizz API key credential for authentication

Troubleshooting

  • Ensure that both List ID and Segment ID are provided and valid; missing or incorrect IDs will cause errors.
  • If the segment does not exist or has already been deleted, the API may return a 404 error.
  • Network or authentication issues with the MailWizz API can cause request failures; verify API credentials and connectivity.

Links

Discussion