Cancel the schedule of an email campaign
PUT /campaigns/{uuid}/actions/unschedule
/campaigns/{uuid}/actions/unscheduleCancels the scheduled send of an email campaign and returns it to draft. Nothing is sent, the date is cleared, and the campaign can be edited, scheduled again or sent.
When to use: When a scheduled campaign must not go out at its date, for example to correct it first.
When not to use: To change only the date, call campaign_schedule again. To remove the campaign, use delete_campaign. It cannot stop a campaign that is already sending. SMS campaigns have no equivalent operation.
Side effects: Removes the queued send: no email goes out at the old date. The status goes back to campaign.status.draft.
Permissions: Requires the manager role or higher, or the marketing.campaigns.send capability.
Value for the X-Auth-Token header parameter.
In: header
Path Parameters
UUID of the email campaign (the uuid field returned by list_campaigns).
Response Body
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X PUT "https://api.easymailing.com/campaigns/8d4e2a71-5c3b-4f96-b1a8-6e0d9c7f2b35/actions/unschedule" \ -H "X-Auth-Token: YOUR_API_KEY"null