infomaniak_lock_drive_user
Lock a kDrive user to prevent access. Uses two-phase commit with confirmation token to ensure safe mutation.
Instructions
Lock a kDrive user through POST /2/drive/{drive_id}/users/{user_id}/lock. Two-phase commit with current user 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>",
"user_id": "<user_id>"
},
"name": "infomaniak_lock_drive_user"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_id | Yes | kDrive user id. | |
| drive_id | Yes | kDrive id. Discover via infomaniak_list_drives. | |
| confirmation_token | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||