DELETE /api/v1/owner/:owner/campaigns/:campaign

Delete a Campaign

Accepts a request and if permitted, deleted the requested Campaign.

Request Parameters

Name Description
reason An optional textual description describing the reason for deletion

Response Parameters

Name Description
name The name of the Campaign.
description Description of the Campaign.
owner The Owner (Organization Name or User Name) that the Campaign belongs to.
date_created A JSON encoded Date indicating when this campaign was created.

Examples

Sample Request

DELETE:/api/v1/owner/tdent/campaigns/returnToFuture4
            
{
    reason: 'The movie has aired, and everything was a big success. Promotion has ended.'
}
            
        

Sample Response

The full Campaign resource is returned in response.

            
{
    name: 'returnToFuture4',
    description: 'New movie coming out on December 3rd',
    owner: 'tdent',
    date_created: Thu Jan 1 1970 00:00:00 GMT-0500 (EST)
}