Return domain's SNI mail services status

This function retrieves the status of the domain's SNI mail services.

Note:

Functions that disable Mail SNI fail and make no changes.

Authorizations:
query Parameters
domain
required
string

The account's domain.

Example: domain=example.com

Responses

Response Schema: application/json
object
object

Request samples

whmapi1 --output=jsonpretty \
  mail_sni_status \
  domain='example.com'

Response samples

Content type
application/json
{
  • "data": {
    • "enabled": 1
    },
  • "metadata": {
    • "command": "mail_sni_status",
    • "reason": "OK",
    • "result": 1,
    • "version": 1
    }
}