This function sets a new primary SSL website for a dedicated IP address.
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 \ set_primary_ssl \ servername='hostname.example.com'
{- "apiversion": 3,
- "func": "set_primary_ssl",
- "module": "SSL",
- "result": {
- "data": null,
- "errors": null,
- "messages": null,
- "metadata": { },
- "status": 1,
- "warnings": null
}
}