Update a link
update_linkChange one of the account's links. Only the fields you send change. The short address stays the same. Expiry, password and click limit work on every plan. It can also change the campaign and the pixels. Leave pixels out to keep them as they are; send an empty list to remove them.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "update_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | The link's id, as returned by list_links or shorten_link. Give either id or code. | |
| code | No | The link's code (the part after siz.la/) or its full short address. Give either id or code. | |
| title | No | A new name for the link. Send an empty string to remove it. | |
| cta_id | No | The id of one of the account's call-to-action messages to show over the page the link opens. Send 0 to remove it. | |
| pixels | No | Ids of the account's ad pixels to fire on each click, as listed by list_pixels. An empty list removes them. | |
| campaign | No | Move the link into a campaign, by name. A campaign that does not exist yet is made. Send an empty string to take the link out of its campaign. | |
| password | No | A password visitors must enter before they are sent on. Send an empty string to remove it. | |
| expires_at | No | When the link stops working, as a date and time such as 2026-12-31 18:00. Send an empty string to remove the expiry. | |
| click_limit | No | The link stops working after this many clicks. Send 0 to remove the limit. | |
| destination | No | The new full web address the link leads to. It must start with http:// or https://. |