delete_collective_share
Delete a public share link for a Nextcloud collective or page, revoking access instantly.
Instructions
Remove a public link; it stops working at once.
Args: collective_id: The numeric collective ID. token: The share token, from list_collective_shares. page_id: The page the link is for, 0 for the whole collective (default: looked up from the token).
Returns: Confirmation message.
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": {
"collective_id": "<collective_id>",
"token": "<token>"
},
"name": "delete_collective_share"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | Yes | ||
| page_id | No | ||
| collective_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |