Return server SNI support status

This function checks whether the server supports SNI (Server Name Indication).

Note:

  • 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
Responses
200

HTTP Request was successful.

Response Schema: application/json
object
object
get/is_sni_supported
Request samples
whmapi1 --output=jsonpretty \
  is_sni_supported
Response samples
application/json
{
  • "data": {
    • "sni": 1
    },
  • "metadata": {
    • "command": "is_sni_supported",
    • "reason": "OK",
    • "result": 1,
    • "version": 1
    }
}