Delete (Unschedule) an Email or Push campaign launch schedule
Use this interface to delete the launch schedule of an existing Email or Push campaign, by using the schedule ID returned from the campaign schedule.
Service URL:
/rest/api/v1.3/campaigns/{campaignName}/schedule/{scheduleId}
Required Path Parameters:
- campaignName
- scheduleId (this can be obtained from the id parameter from the response to either the “Get All Launch Schedules for an Email or Push Campaign” task or the “Schedule an Email or Push Campaign Launch” task)
Request Method:
DELETE
Request Header:
Authorization=<AUTH_TOKEN>
Request Body:
None
Sample Response Body
{
"id": 1491,
"scheduleType": "ONCE",
"scheduledTime": "2015-11-30 01:00 AM",
"launchOptions": {
"proofLaunch": false
},
"links": [
{
"rel": "self",
"href": "/rest/api/v1.3/campaigns/test/schedule/1491",
"method": "DELETE"
},
{
"rel": "updateSchedule",
"href": "/rest/api/v1.3/campaigns/test/schedule/1491",
"method": "PUT"
},
{
"rel": "getSchedule",
"href": "/rest/api/v1.3/campaigns/test/schedule/1491",
"method": "GET"
},
{
"rel": "createSchedule",
"href": "/rest/api/v1.3/campaigns/test/schedule",
"method": "POST"
}
]
}