Unsubscribe subscriber from all lists (apiUnsubscribeSubscriberFromAll)
Use this function to remove subscribers from all lists.
Request
| Name | Type | Example | Required | Comment |
|---|---|---|---|---|
| subscriberIDList | subscriberIDList (50) | subscriberIDList | yes | A maximum of 50 subscribers can be deleted per call |
Error Response
| Code | Interpretation |
|---|---|
| 204 | No subscribers were passed. |
| 404 | No valid list IDs or subscriber IDs were passed. |
PHP Example
$unsubscriber[0] = array(
'listID' => '123456789',
'subscriberID' => '987654321'
);
$response=$client->apiUnsubscribeSubscriberFromAll(array('subscriberIDList'=>$unsubscriber));