acc_remove_folder_permissions
Remove all direct permissions from a folder for specified users or companies, keeping inherited permissions. Confirmation required before execution.
Instructions
Remove all DIRECT permissions of the given subjects on a folder. Inherited permissions from parent folders remain — remove them at the parent too if full revocation is needed. Project admins cannot be removed. Confirm with the user before calling.
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": {
"project_id": "<project_id>",
"folder_id": "<folder_id>",
"subjects_json": "<subjects_json>"
},
"name": "acc_remove_folder_permissions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| folder_id | Yes | Folder URN | |
| project_id | Yes | Project id | |
| subjects_json | Yes | JSON array of subjects to strip of DIRECT permissions on this folder, e.g. [{"type": "USER", "email": "a@b.com"}, {"type": "COMPANY", "id": "..."}] |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |