This function removes SSL from a domain.
Note:
This function removes domains from the current certificate to end SSL coverage for those
domains. To delete certificates from SSL storage, use the UAPI function SSL::delete_cert
instead.
Important:
When you disable the Calendars and Contacts, Receive Mail, Web Disk, Webmail, and Web Server roles, the system disables this function.
uapi --output=jsonpretty \ --user=username \ SSL \ delete_ssl \ domain='example.com'
{- "apiversion": 3,
- "func": "delete_ssl",
- "module": "SSL",
- "result": {
- "data": null,
- "errors": null,
- "messages": [
- "The SSL host was successfully removed."
], - "metadata": { },
- "status": 1,
- "warnings": null
}
}