Switch a tracked link off, or back on
revoke_shareSwitches off a tracked link that has already been sent. It is only for a user who asks to switch a link off, and never a stand-in for a request to delete a page or a link, which is possible only on the website. Anyone who opens it afterwards sees that it is no longer available, and the sender is emailed that somebody tried, at most once every six hours for a link. This changes what a recipient can see. It is reversible: revoked: false switches a link back on, however long ago it was switched off, but a link past its end date stays closed until update_share sets a new end date or clears it. It deletes nothing: the link, its settings and its whole reading history survive. Deleting a link is possible only on the website, because it deletes its reading records for good. update_share changes a link's settings without changing its address; switching one off to make a replacement leaves the recipient holding a dead address.
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 |
|---|---|---|---|
| revoked | No | True (the default) switches the link off. False switches it back on. | |
| share_id | Yes | The link's share id, slug (the part after /r/), or full address. |