Remove SSL for domain

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.

Authorizations:
query Parameters
domain
required
string <domain>

The domain name.

Example: domain=example.com

Responses

Response Schema: application/json
apiversion
integer

The version of the API.

func
string

The name of the method called.

module
string

The name of the module called.

object

Request samples

uapi --user=username SSL delete_ssl domain='example.com'

Response samples

Content type
application/json
{
  • "apiversion": 3,
  • "func": "delete_ssl",
  • "module": "SSL",
  • "result": {
    • "data": null,
    • "errors": null,
    • "messages": [
      • "The SSL host was successfully removed."
      ],
    • "metadata": { },
    • "status": 1,
    • "warnings": null
    }
}