You are here

function MCAPI::campaignDelete in Mailchimp 7

Same name and namespace in other branches
  1. 6.2 MCAPI.class.php \MCAPI::campaignDelete()

Delete a campaign. Seriously, "poof, gone!" - be careful!

Related

@example mcapi_campaignDelete.php

Parameters

string $cid the Campaign Id to delete:

Return value

boolean true if the delete succeeds, otherwise an error will be thrown

File

./MCAPI.class.php, line 380

Class

MCAPI

Code

function campaignDelete($cid) {
  $params = array();
  $params["cid"] = $cid;
  return $this
    ->callServer("campaignDelete", $params);
}