WHM API.
https://api.docs.cpanel.net/_mock/specifications/whm.openapi/
https://{host}:{port}/json-api/
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
domainparameter multiple times. - Use the
domain,domain-1, anddomain-2parameters.
- Mock server
https://api.docs.cpanel.net/_mock/specifications/whm.openapi/set_autossl_user_excluded_domains
- A server running WHM.
https://whm-server.tld:2087/json-api/set_autossl_user_excluded_domains
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
-u <username>:<password> \
'https://api.docs.cpanel.net/_mock/specifications/whm.openapi/set_autossl_user_excluded_domains?username=example&domain=cpcalendars.example.com'{ "metadata": { "command": "set_autossl_user_excluded_domains", "reason": "OK", "result": 1, "version": 1 } }
- Mock server
https://api.docs.cpanel.net/_mock/specifications/whm.openapi/start_autossl_check_for_all_users
- A server running WHM.
https://whm-server.tld:2087/json-api/start_autossl_check_for_all_users
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
-u <username>:<password> \
https://api.docs.cpanel.net/_mock/specifications/whm.openapi/start_autossl_check_for_all_users{ "data": { "pid": 29193 }, "metadata": { "command": "start_autossl_check_for_all_users", "reason": "OK", "result": 1, "version": 1 } }
- Mock server
https://api.docs.cpanel.net/_mock/specifications/whm.openapi/start_autossl_check_for_one_user
- A server running WHM.
https://whm-server.tld:2087/json-api/start_autossl_check_for_one_user
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
-u <username>:<password> \
'https://api.docs.cpanel.net/_mock/specifications/whm.openapi/start_autossl_check_for_one_user?username=example'{ "data": { "pid": 12345 }, "metadata": { "command": "start_autossl_check_for_one_user", "reason": "OK", "result": 1, "version": 1 } }