Update share
nextcloud_update_shareUpdate an existing Nextcloud share to change its permissions, password, expiry date, label, or note by share ID.
Instructions
Change one share's permissions, password, expiry, label or note.
PUT /ocs/v2.php/apps/files_sharing/api/v1/shares/{share_id}
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": {
"share_id": "<share_id>"
},
"name": "nextcloud_update_share"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| label | No | ||
| password | No | ||
| share_id | Yes | ||
| expire_date | No | ||
| permissions | No |