infomaniak_delete_certificate
Delete an SSL certificate using a two-phase commit: first review the plan, then confirm to execute. The site reverts to no HTTPS until a new certificate is requested.
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.
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>",
"site_id": "<site_id>"
},
"name": "infomaniak_delete_certificate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site_id | Yes | Site ID on that hosting. Same source as hosting_id. | |
| hosting_id | Yes | Web hosting ID. Discover via infomaniak_find_site(domain) → 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 | |||