Return whether domains can redirect to secure URL

This function determines whether the system can automatically redirect domains on a cPanel account to use SSL.

SecurityBasicAuth
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/can_ssl_redirect
Request samples
uapi --output=jsonpretty \
  --user=username \
  SSL \
  can_ssl_redirect
Response samples
application/json
{
  • "apiversion": 3,
  • "func": "can_ssl_redirect",
  • "module": "SSL",
  • "result": {
    • "data": 1,
    • "errors": null,
    • "messages": null,
    • "metadata": { },
    • "status": 1,
    • "warnings": null
    }
}