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.

SecurityBasicAuth
Request
query Parameters
domain
required
string <domain>

The domain name.

Example: domain=example.com
Responses
200

HTTP Request was successful.

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
get/SSL/delete_ssl
Request samples
uapi --output=jsonpretty \
  --user=username \
  SSL \
  delete_ssl \
  domain='example.com'
Response samples
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
    }
}