infomaniak_delete_hosting_user
Revoke FTP or SSH access for a hosting user without deleting their files. Uses a two-phase commit to ensure safe, deliberate action.
Instructions
Revoke a hosting user (FTP / SSH access). Two-phase commit. Existing files are not deleted.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hosting_id | Yes | Web hosting ID. Discover via infomaniak_list_hostings. | |
| 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. | |
| 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 | |||