Links

/v1/links/:id

Delete a specific link (don't know the ID? Fetch it using GET /v1/links)

delete/v1/links/{id}

Request

  • Base URL
    https://api.rebrandly.com
  • URL
    https://api.rebrandly.com/v1/links/{id}
  • Auth
    API key in header apikey

Path parameters

idstring required

Unique identifier of the link you want to delete

Headers

workspacestring

Which workspace id to filter links by. No workspace specified will select main workspace.

Response

200

idstring
titlestring
slashtagstring
destinationstring
createdAtstring
updatedAtstring
shortUrlstring

Example response

{
  "id": "fffa4cc5b6ee45d6g7897b06ac2d16af",
  "title": "What is Rebrandly",
  "slashtag": "video",
  "destination": "https://www.youtube.com/watch?v=3VmtibKpmXI",
  "createdAt": "2016-07-13T10:54:12.000Z",
  "updatedAt": "2016-07-13T10:54:12.000Z",
  "shortUrl": "rebrand.ly/video",
  "domain": {
    "id": "8f104cc5b6ee4a4ba7897b06ac2ddcfb",
    "fullName": "rebrand.ly"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.