update_share
Update an existing share link by setting whether it is editable, optionally changing the password, and including pageId for page-specific shares.
Instructions
Update an existing share link. editable is required by the API and is always applied, so state it explicitly or you may silently change it. Pass pageId for a page share; omit it for the Collective-wide share. Pass an empty password to remove an existing one.
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": {
"collectiveId": "<collectiveId>",
"token": "<token>",
"editable": "<editable>"
},
"name": "update_share"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | Yes | Share token from list_shares. | |
| pageId | No | Required for a page share; omit for the Collective-wide share. | |
| editable | Yes | Whether visitors may edit through the link. | |
| password | No | Set a new password, or "" to remove the existing one. Omit to leave unchanged. | |
| collectiveId | Yes |