This function determines whether the system can automatically redirect domains on a cPanel account to use SSL.
uapi --output=jsonpretty \ --user=username \ SSL \ can_ssl_redirect
{- "apiversion": 3,
- "func": "can_ssl_redirect",
- "module": "SSL",
- "result": {
- "data": 1,
- "errors": null,
- "messages": null,
- "metadata": { },
- "status": 1,
- "warnings": null
}
}