tc_remove_permissions
Removes specified users or groups from a file or folder's access control list, so they lose direct permissions and inherit access from the parent item. Requires confirmation to prevent accidental changes.
Instructions
Remove users/groups from a folder's or file's ACL entirely.
They fall back to whatever the parent folder / project grants them. To actively BLOCK someone instead, use tc_grant_permissions with level="NO_ACCESS". Requires TC_ENABLE_WRITE=1 AND confirm=true.
Args: project_id: Project ID. item_id: Folder or file ID. subject_ids: User/group ids to drop from the ACL. confirm: Must be true — safety gate. item_type: "FOLDER" (default) or "FILE".
Returns: {"updated": true, "acl": {...}, "removed": [ids]}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | ||
| item_id | Yes | ||
| item_type | No | FOLDER | |
| project_id | Yes | ||
| subject_ids | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |