v1

latestOpenAPI 3.0.2cPanel License2026-08-06657427.1 MB
SSL
cPanel Account SSL Management

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.

get/SSL/can_ssl_redirect

Response

HTTP Request was successful.

apiversioninteger

The version of the API.

funcstring

The name of the method called.

modulestring

The name of the module called.

Example response

{
  "apiversion": 3,
  "func": "can_ssl_redirect",
  "module": "SSL",
  "result": {
    "data": 1,
    "status": 1
  }
}