Revoke share link
revoke_shareDisable a public share link instantly by providing its share id. Revoked links stop working immediately; revoking an already-revoked link has no effect.
Instructions
Disable a public share link by its share id (editor+; ids come from list_shares). The link stops working immediately. Idempotent — revoking an already-revoked link is a no-op.
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": "revoke_share"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| share_id | Yes | id of the share link to revoke (from list_shares) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes |