SSL
Auto-Generated Certificates
Disable AutoSSL for domain
This function disables AutoSSL for a specific domain on an account.
Warning:
This function replaces the list of any previously-excluded domains. To add a domain to the list of the user's excluded domains, use the add_autossl_user_excluded_domains function.
get/set_autossl_user_excluded_domains
Query parameters
usernamestring username required
Example:example
The cPanel user's account.
domainstring domain
Example:cpcalendars.example.com
Disable AutoSSL for this domain. If you do not include this parameter, the system will enable AutoSSL for every domain on the account.
Note
To disable AutoSSL for multiple domains, duplicate or increment the parameter name. For example, to exclude three domains, you could:
- Use the domain parameter multiple times.
- Use the domain, domain-1, and domain-2 parameters.
Response
HTTP Request was successful.
Example response
{
"metadata": {
"command": "set_autossl_user_excluded_domains",
"reason": "OK",
"result": 1,
"version": 1
}
}