Revoke app link
revoke_app_linkStops one share link, by its link_id, for everyone holding it. It does not make the app private or touch other links; get_access lists which links exist. A link that was already stopped answers that it isn't one of this app's live links: the first call having worked, so the link is already off rather than stopping it having failed.
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": {
"app_id": "<app_id>",
"link_id": "<link_id>"
},
"name": "revoke_app_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app_id | Yes | the app the link belongs to, from a reply or list_apps | |
| link_id | Yes | the link to stop, as share_app_by_link returned it or get_access lists it; the link's URL will not do |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| access | Yes | the change this call made, not the app's state; get_access reports the state |