Resend icon

Resend

Send emails, manage contacts, create broadcasts, handle templates, domains, segments, topics, and webhooks using the Resend email platform

Segment → Delete

AI-generated

Overview

This node operation deletes a specified segment from the Resend email platform. It is useful for managing contact segments by removing those that are no longer needed or relevant. For example, if a segment grouping contacts by a specific campaign is obsolete, this operation can delete it to keep the segment list clean and organized.

Use Case Examples

  1. Deleting a segment that groups contacts who participated in a past marketing campaign.
  2. Removing a segment that was created for a temporary event or promotion.

Properties

Name Meaning
Segment The ID of the segment to delete. This can be selected from a list of existing segments or specified directly using an expression.

Output

JSON

  • success - Indicates whether the segment was successfully deleted (true or false).
  • segmentId - The ID of the segment that was deleted.

Dependencies

  • Requires an API key credential for the Resend email platform to authenticate and authorize the deletion request.

Troubleshooting

  • Common issues include providing an invalid or non-existent segment ID, which will result in an error from the API indicating the segment could not be found.
  • Authentication errors may occur if the API key credential is missing or invalid, resulting in authorization failure messages.
  • Network or API service issues could cause the deletion request to fail; retrying or checking service status is recommended.

Links

Discussion