You are here

function CampaignMonitor::listDelete in Campaign Monitor 6.2

Same name and namespace in other branches
  1. 5.2 lib/CMBase.php \CampaignMonitor::listDelete()
  2. 6.3 lib/CMBase.php \CampaignMonitor::listDelete()

*

Parameters

int $list_id (List) ID of the list to be deleted: * @see http://www.campaignmonitor.com/api/method/list-delete/

File

lib/CMBase.php, line 1380

Class

CampaignMonitor
The new CampaignMonitor class that now extends from CMBase. This should be backwards compatible with the original (PHP5) version.

Code

function listDelete($list_id) {
  return $this
    ->makeCall('List.Delete', array(
    'params' => array(
      'ListID' => $list_id,
    ),
  ));
}