PUT
/subscribers/blocklistManage the subscriber blocklist
Manages subscribers on the blocklist using subscriber selectors and list settings. Provide action to specify whether to add, remove, or unsubscribe the selected subscribers.
Selectors and settings for managing subscribers on the blocklist. The request body is optional and no fields are required by the schema.
querystringoptional
SQL expression to select subscribers.
idsarray<integer>optional
The ids of the subscribers to be modified.
actionstringoptional
Whether to add, remove, or unsubscribe the users.
target_list_idsintegeroptional
The ids of the lists to be modified.
statusstringoptional
confirmed, unconfirmed, or unsubscribed status.
200Returns a boolean in `data` indicating the result of the blocklist operation.
databooleanoptional
Error handling
action must be add, remove, or unsubscribe, and status must be confirmed, unconfirmed, or unsubscribed. The request body is optional and has no required fields; ids must contain integers when provided.