infomaniak_delete_certificate
Delete the SSL certificate of a site on Infomaniak web hosting using a two-phase commit: first plan to preview what will be removed, then confirm with a token.
Instructions
Delete the SSL certificate of a site (the site will fall back to no HTTPS or Infomaniak's default cert until a new one is requested). Two-phase commit. The plan pulls the current certificate status so the caller can see what is about to be removed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hosting_id | Yes | Web hosting ID. Discover via infomaniak_find_site(domain) → hosting_id. | |
| site_id | Yes | Site ID on that hosting. Same source as hosting_id. | |
| confirmation_token | No | Token from the first (plan) phase. Re-pass to execute. Omit to receive the plan + token. Undo afterwards by calling infomaniak_request_certificate with type='free'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||