Remove a member
DELETE/api/v1/segments/{id}/contacts/{contact}
DELETE /segments/{id}/contacts/{contact}
curl -X DELETE 'https://www.unitpost.com/api/v1/segments/seg_123/contacts/con_456' \
-H 'Authorization: Bearer YOUR_API_KEY' \
-H 'User-Agent: my-app/1.0'Remove a contact from a segment, referenced by contact id or email. The contact itself is not deleted — only its membership. Add it back any time with Add a member. Requires the segments:write capability.
Parameters2 fields
| Field | Type | Description |
|---|---|---|
idrequired | string · path | — |
contactrequired | string · path | A contact id or email. |
204401404