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.
SecurityBasicAuth
Request
query Parameters
domains
required
string

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

Example: domains=example.com|example1.com|example2.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/disable_mail_sni
Request samples
uapi --output=jsonpretty \
  --user=username \
  SSL \
  disable_mail_sni \
  domains='example.com|example1.com|example2.com'
Response samples
application/json
{
  • "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
        }
      },
    • "errors": null,
    • "messages": null,
    • "metadata": { },
    • "status": 1,
    • "warnings": null
    }
}