infomaniak_delete_site
Delete a site from Infomaniak web hosting using a two-phase commit: first call previews deletion, second call with confirmation token executes it. Also removes the site directory from FTP backend after a short grace period.
Instructions
Delete a site from an Infomaniak web hosting. Two-phase commit: first call returns a plan with the site preview + token, second call (same params + token) actually deletes. WARNING: this also wipes the site directory on the FTP backend after a short grace period.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hosting_id | Yes | Web hosting ID. Discover via infomaniak_find_site(domain) or infomaniak_list_hostings. | |
| site_id | Yes | Site ID on that hosting. Same source as hosting_id (infomaniak_find_site or infomaniak_list_sites). | |
| confirmation_token | No | Token returned by the first (plan) phase. Re-pass on the second call to execute the delete. Omit on first call to receive the plan + token (full preview of what will be removed). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||