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.
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 |