Unsubscribe subscriber from list (apiUnsubscribeSubscriberFromList)
Use this function to remove subscribers from individual lists.
Request
Name | Type | Example | Required | Comment |
---|---|---|---|---|
subscriberIDList | subscriberIDList (50) | subscriberIDList | 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. |
PHP5 Example
$unsubscriber[0] = array( 'listID' => '123456789', 'subscriberID' => '987654321' ); $response=$client->apiUnsubscribeSubscriberFromList(array('subscriberIDList'=>$unsubscriber));