Delete a link
DELETE/api/links/{id}
Deletes one of the app's links for good, so its short URL stops working. A link of another app answers 403. A sandbox key deletes only sandbox links, so a live link answers 404 to it.
Request
Send your app’s API key in the Api-Key header. See Authentication.
Path parameters
idintegerrequired
The link’s id.
Example
curl -X DELETE 'https://dev.thedbl.ink/api/links/1001' \
-H 'Api-Key: YOUR_API_KEY'It answers 200 with an empty body.
Try it
Sends a real request to https://dev.thedbl.ink from your browser. Use your app’s sandbox API key, which starts with sandbox_, while you try things out. Deleting is permanent: the link’s short URL stops working.
https://dev.thedbl.ink/api/links/%7Bid%7D