Skip to main content
removeContactFromSegment removes membership without deleting the contact.
automations/remove-resend-segment-member.automation.ts
contactId is an ID or email and segment is an exact name or ID. Optional account selects the binding. Returns { deleted: boolean; segmentId: string }. The contact remains in Resend and retains memberships in other segments.