Change a share link
update_linkPause or resume a share link, or change its password, expiry or download limit.
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": {
"linkId": "<linkId>"
},
"name": "update_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| active | No | false pauses the link, true resumes it | |
| linkId | Yes | The link id | |
| password | No | A new password, or null to remove it | |
| expiresAt | No | A new expiry (ISO 8601), or null to remove it | |
| maxDownloads | No | A new download limit, or null to remove it |