Update a DexURL short link
update_linkChange an existing short link: destination, title, status (active or disabled), password (Pro) or rules. Only the fields you send change. An edit changes where the existing short link and its printed QR codes go, and visitors may see the old behaviour for up to a minute. Each nested rules object (availability, redirectNotice, choiceOptions, destinations, routing.rules, routing.windows) is REPLACED as a whole, so call get_link first and send the complete object back with your change. Scalars are set one by one. To remove a rule send null: {"rules":{"maxClicks":null}} removes the click limit, {"rules":{"availability":null}} removes the schedule, {"rules":{"expiresAt":null}} the expiry. {"rules":{"passwordRequired":false}} removes password protection (the password is deleted). A title of "" or null clears the title. The result is the updated link as get_link shows it, plus changed: the fields this request sent.
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": "update_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | The link slug. | |
| rules | No | Link rules to change. Fields you leave out stay as they are; null clears a field. availability, redirectNotice, routing, choiceOptions and destinations have the shapes create_link describes, and availability, redirectNotice, choiceOptions, destinations, routing.rules and routing.windows are each REPLACED as a whole when sent. | |
| title | No | New title; empty or null clears it. | |
| status | No | Pause (disabled) or resume (active). | |
| password | No | Set or change the password (Pro). | |
| destinationUrl | No | New destination (http or https). |