You are here

function CampaignMonitor::campaignDelete in Campaign Monitor 6.3

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

* Delete a campaign. *

Parameters

$campaign_id The ID of the campaign to delete.: * @return A Status code indicating success or failure. * @see http://www.campaignmonitor.com/api/method/campaign-delete/

File

lib/CMBase.php, line 1317

Class

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

Code

function campaignDelete($campaign_id) {
  return $this
    ->campaignGeneric('Delete', $campaign_id);
}