infomaniak_manage_mail_device_access
Revoke a device's access or all sessions for a mailbox or service user, using confirmation and state checks.
Instructions
Delete a specific device access, or revoke all device sessions for a mailbox or service user. Uses two-phase confirmation and current-state guards.
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": {
"mail_hosting_id": "<mail_hosting_id>",
"action": "<action>"
},
"name": "infomaniak_manage_mail_device_access"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | mailbox | |
| action | Yes | ||
| user_id | No | ||
| mailbox_name | No | ||
| device_access | No | ||
| mail_hosting_id | Yes | ||
| confirmation_token | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||