Delete List

Delete a list (apiDeleteList)

Use this function to delete an existing subscriber list. The subscribers contained in the list are not deleted. They remain in the account and may no longer be associated with a list.

Request

NameTypeExampleRequiredComment
listIDInteger123456789apiGetList() delivers all possible List IDs.

Error Response

CodeInterpretation
404No List ID was passed.

PHP5 Example

try{
$request = array(
    'listID'=> 123456789,
);
 
$response=$client->apiDeleteList($request);
 
}
catch (SoapFault $exception) {
    echo ($exception->getMessage());
}