Update Link
update_linkUpdate an existing short link — change destination, expiry, click cap, password, routing rules, OG meta, geo-restriction, or ad-click-ID passthrough.
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": {
"short_code": "<short_code>"
},
"name": "update_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | New destination URL | |
| og_meta | No | Update OG meta (Pro+), or null to remove it | |
| password | No | Set a new password (min 4 chars), or empty string "" to remove password protection | |
| expires_at | No | New ISO-8601 expiry datetime, or null to remove | |
| max_clicks | No | New click cap, or 0 to remove limit | |
| short_code | Yes | The short code of the link to update | |
| routing_rules | No | Replace all routing rules (Pro+), or null to remove all rules | |
| geo_restriction | No | Update geo-restriction (Pro+), or null to remove it entirely | |
| pass_ad_click_ids | No | Enable/disable gclid/fbclid passthrough | |
| expire_fallback_url | No | Optional URL to redirect visitors to when this link expires, instead of showing the expiry error page. Set to null or empty string to remove. Pro+ only. |