Skip to main content
deleteSegment removes a segment resolved by exact name or ID.
automations/delete-resend-segment.automation.ts
segment is required; optional account selects the binding. Name resolution fails on missing or duplicate exact names. Returns { deleted: boolean; id: string; object: string }. Deleting a segment removes the grouping, not the underlying contacts.