v1

latestOpenAPI 3.0.2cPanel License2026-08-06657427.1 MB
SSL
SNI Email Settings

Disable SNI mail services for domain

This function disables SNI mail services on the specified domains.

Note:

Mail SNI is always enabled.

  • After you change the SNI status, you must run UAPI's rebuild_mail_sni_config function.
  • Functions that enable Mail SNI succeed with a warning that Mail SNI is always enabled.
  • Functions that disable Mail SNI fail and make no changes.
get/SSL/disable_mail_sni

Query parameters

domainsstring required
Example:example.com|example1.com|example2.com

A pipe-delimited list of the account's domains.

Response

HTTP Request was successful.

apiversioninteger

The version of the API.

funcstring

The name of the method called.

modulestring

The name of the module called.

Example response

{
  "apiversion": 3,
  "func": "disable_mail_sni",
  "module": "SSL",
  "result": {
    "data": {
      "failed_domains": {
        "example2.com": "Sorry, example2.com is not one of the domains on your account."
      },
      "updated_domains": {
        "example.com": 1,
        "example1.com": 1
      }
    },
    "status": 1
  }
}