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

Delete a URL from use

Accepts a request and responds with the deleted URL object.

Request Parameters

None

Response Parameters

Name Description
id 6 character unique ID for URL.
campaign_id Unique ID specifying the campaign the URL belongs to.
url Long URL that the service redirects to.
description Description associated with the URL.
date_created Date that the URL was created.

Examples

Sample Request

DELETE:/api/v1/users/me/campaigns/camp1/urls/iW6Y87

Sample Response

            
{
    "id": "iW6Y87",
    "campaign_id": "54c2c6b1aa7b47cfc140691c",
    "url": "http://example.com",
    "description": "Trying out BlackSeal, just a test",
    "date_created": "2015-02-17T18:04:16.099Z"
}