Unsubscribe From All

Unsubscribe subscriber from all lists (apiUnsubscribeSubscriberFromAll)

Use this function to remove subscribers from all lists.

Request

NameTypeExampleRequiredComment
subscriberIDListsubscriberIDList (50) subscriberIDListyesA maximum of 50 subscribers can be deleted per call

Error Response

CodeInterpretation
204No subscribers were passed.
404No valid list IDs or subscriber IDs were passed.

PHP Example

$unsubscriber[0] = array(
    'listID' => '123456789',
    'subscriberID' => '987654321'
);

$response=$client->apiUnsubscribeSubscriberFromAll(array('subscriberIDList'=>$unsubscriber));