infomaniak_remove_drive_file_access_user
Revoke a user's access to a kDrive file or folder. Uses a destructive two-phase commit requiring confirmation token and includes a guard if file is currently accessed.
Instructions
Revoke a user's access to a kDrive file or folder. Destructive two-phase commit with current file-access guard.
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": {
"drive_id": "<drive_id>",
"file_id": "<file_id>",
"user_id": "<user_id>"
},
"name": "infomaniak_remove_drive_file_access_user"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_id | Yes | kDrive file or folder id. | |
| user_id | Yes | User id to revoke access for. | |
| drive_id | Yes | kDrive id. Discover via infomaniak_list_drives. | |
| confirmation_token | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||