infomaniak_delete_hosting_user
Revoke FTP/SSH access for a hosting user without deleting files. Uses a two-phase commit to confirm the action.
Instructions
Revoke a hosting user (FTP / SSH access). Two-phase commit. Existing files are not deleted.
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": {
"hosting_id": "<hosting_id>",
"login": "<login>"
},
"name": "infomaniak_delete_hosting_user"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| login | Yes | Full user login as shown by infomaniak_list_hosting_users (includes the hosting prefix, e.g. 'q387gx_audit'). User's files are preserved on disk; only access is revoked. | |
| hosting_id | Yes | Web hosting ID. Discover via infomaniak_list_hostings. | |
| confirmation_token | No | Token from the first (plan) phase. Re-pass on the second call to actually revoke access. Omit on first call to receive the plan + token. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||