You are here

function CampaignMonitor::listDeleteCustomField in Campaign Monitor 5.2

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

*

Parameters

int $list_id (ListID) A valid list ID to check against. : * @param int $key (Key) The Key of the field we want to delete. * @return mixed A parsed response from the server, or null if something failed. * @see http://www.campaignmonitor.com/api/method/list-deletecustomfield/

File

lib/CMBase.php, line 1498

Class

CampaignMonitor

Code

function listDeleteCustomField($list_id, $key) {
  return $this
    ->makeCall('List.DeleteCustomField', array(
    'params' => array(
      'ListID' => $list_id,
      'Key' => $key,
    ),
  ));
}