remove_members_from_segment
Remove email addresses from a Mailchimp static segment or tag without deleting them from the audience. Specify list, segment, and comma-separated emails.
Instructions
Remove members from a static segment or tag. Members remain in the audience.
Only works on static segments (tags), not dynamic segments. Non-existent members in the email list are silently skipped. Use tag_member with tags_to_remove for single-member removal.
Authenticated via API key. Max 10 concurrent requests. Respects read-only and dry-run modes. Returns 404 error if segment_id or list_id is invalid.
Args: list_id: Audience/list ID (10-char alphanumeric, e.g. 'abc123def4'). Obtain from list_audiences. segment_id: Static segment/tag ID (numeric string, e.g. '12345'). Obtain from list_segments. emails: Comma-separated email addresses to remove (e.g. 'a@co.com,b@co.com').
Returns: JSON with total_added (always 0), total_removed, errors array.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| list_id | Yes | ||
| segment_id | Yes | ||
| emails | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |