Bulk globally unsubscribe a list with the Marketing API
Globally opts out every subscriber in a subscription list without having to enumerate them.
This endpoint has two modes:
- Explicit — supply
subscriber_idsand the request behaves exactly likePOST /subscriptions/unsubscribe, returning the affected subscribers synchronously. - Select-all — omit
subscriber_idsand supplyfrom_subscription_list_id. Every subscriber matchingsearchandfiltersin that list, minusexcept_ids, is queued for processing in the background and a Sidekiq job ID (jid) is returned immediately.
In select-all mode from_subscription_list_id is required and must be a subscription list UUID. Globally opting a subscriber out suppresses all future marketing email to them, across every list.
Authorizations
Body
URL-encoded JSON describing additional subscriber filters, as generated by the subscriber search in the Marketing dashboard. The decoded value is an array of filter groups, each group an array of {"field": ..., "op": ..., "terms": [...]} objects. Ignored by the dynamic_bulk_* endpoints, which use the filters saved on the dynamic list.