You are here

public function MailchimpCampaigns::unschedule in Mailchimp 8

Unschedule a Mailchimp campaign.

Parameters

string $campaign_id: The ID of the campaign.

Return value

object

See also

http://developer.mailchimp.com/documentation/mailchimp/reference/campaig...

File

lib/mailchimp-api-php/src/MailchimpCampaigns.php, line 249

Class

MailchimpCampaigns
Mailchimp Campaigns library.

Namespace

Mailchimp

Code

public function unschedule($campaign_id) {
  $tokens = [
    'campaign_id' => $campaign_id,
  ];
  return $this
    ->request('POST', '/campaigns/{campaign_id}/actions/unschedule', $tokens, NULL);
}