latestOpenAPI 3.0.2cPanel License2026-08-106251554.3 MB

3da41671c02c

SSL
Auto-Generated Certificates

Update the AutoSSL provider

This function sets the provider that the AutoSSL feature uses.

Note:

To disable AutoSSL, call WHM API 1's disable_autossl function.

get/set_autossl_provider

Query parameters

providerstring required
Example:cPanel

The AutoSSL provider's name. For example:

  • cPanel
  • LetsEncrypt
x_*string
Example:(varies)

Additional parameters which you wish to pass to the AutoSSL provider.

Note:

These additional parameters begin with the x_ prefix. For example, the Let's Encrypt provider accepts the x_terms_of_service_accepted parameter, to which you would pass the URL of the terms of service that you accept.

Response

HTTP Request was successful.

Example response

{
  "metadata": {
    "command": "set_autossl_provider",
    "reason": "OK",
    "result": 1,
    "version": 1
  }
}