Delete a short link
delete_linkPermanently deletes a short link: the URL immediately stops working, returns 404, and is removed from the account. Use pause instead if the link may be needed again.
Instructions
Delete a short link. This can't be undone: the short URL stops working immediately, anyone who already has it gets a 404, and the link leaves the account's list. Its short URL is never given to another link. Prefer update_link with paused:true if the link might be needed again. Requires an API key.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"slug": "<slug>"
},
"name": "delete_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | The link's short code (the part after the domain). | |
| linkId | No | Optional. Needed only when more than one of your links uses this short code, on different hosts: the call then fails with SLUG_AMBIGUOUS and lists each link's linkId. Call again with the same slug and the linkId of the link you mean. |