Documentation
Delete a link
DELETE
/v1/links/{link}LinksRemoves the link and its click history. Its current and previous short URLs stop answering within a minute, and its current and previous endings remain reserved indefinitely, including for the same account. There is no automatic release, restore or reuse operation. To pause every ending instead, set disabled with Update a link.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
link | string, in the path | required | The link's id, ending, domain/ending or full short URL. URL-encode the entire reference in this path segment. Full URLs retain their namespace and never fall back to a same-ending link on another domain. |
Example request
Terminal
curl "https://snip.link/v1/links/spring-menu" \
-X DELETE \
-H "Authorization: Bearer $SNIP_KEY"Example response
Response
{
"deleted": true
}Response fields
| Field | Type | Description |
|---|---|---|
deleted | true |
Errors
| Status | Meaning |
|---|---|
| 401 | The API key is missing, malformed or revoked. |
| 404 | No link by that id or ending in this account. |
| 429 | Either the key exceeded its requests-per-second limit (honor Retry-After), or a daily or plan quota is used up (details.reason). |

