Remove access
sharing_removeTake away someone's access to one of the user's notes, tasks or shared folders, as Remove access in its Share tab does. Name them as shared_with in notes_get, tasks_get or folders_get lists them: a person by email (or contact_uuid), a group by group. The owner's access can't be taken away. Only a note's or task's owner or an admin can do it (can_share), and a group's admins can take back a share with their group; a shared folder's admins (can_manage). Humble doesn't tell them. Returns the item as it is now.
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": {
"item_type": "<item_type>",
"item_uuid": "<item_uuid>"
},
"name": "sharing_remove"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| No | A person's email, as `shared_with` lists it | ||
| group | No | A group's name, as `shared_with` lists it | |
| item_type | Yes | What's shared | |
| item_uuid | Yes | Its uuid, from notes_search, tasks_search or folders_list | |
| contact_uuid | No | One of the user's contacts, by the uuid contacts_search returns |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||