infomaniak_set_drive_user_manager
Assign or revoke kDrive manager rights. Uses two-phase commit to prevent unsafe changes.
Instructions
Set or remove kDrive manager rights through PATCH /2/drive/{drive_id}/users/{user_id}/manager. 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>",
"is_manager": "<is_manager>"
},
"name": "infomaniak_set_drive_user_manager"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_id | Yes | kDrive user id. | |
| drive_id | Yes | kDrive id. Discover via infomaniak_list_drives. | |
| is_manager | Yes | Whether the drive user should have manager rights. | |
| confirmation_token | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||