Skip to main content
resend.deleteSegment removes a segment by stable ID.
automations/delete-resend-segment.automation.ts
The action requires segmentId. Optional second argument { account } selects the binding. Returns { deleted: boolean; id: string; object: "segment" }. Deleting a segment removes the grouping, not the underlying contacts.