« Back to Documentation OverviewlistStaticSegmentDelMembers – v1.2
listStaticSegmentDelMembers(string apikey, string id, int seg_id, array batch)
Remove list members from a static segment. It is suggested that you limit batch size to no more than 10,000 addresses per call. Email addresses must exist on the list
in order to be removed - this will not remove unsubscribe them from the list!
| Parameters | | apikey | a valid API Key for your user account. Get by visiting your API dashboard |
| id | the list id to connect to. Get by calling lists() |
| seg_id | the id of the static segment to delete - get from listStaticSegments() |
| batch | an array of email addresses and/or unique_ids to remove from the segment |
| Returns | | array |
an array with the results of the operation |
| Returned Fields | int | success | the total number of succesful updates (will include members already in the segment) | array | errors | the email address, an error code, and a message explaining why they couldn't be added |