WHM API.
https://api.docs.cpanel.net/_mock/specifications/whm.openapi/
https://{host}:{port}/json-api/
- Mock server
https://api.docs.cpanel.net/_mock/specifications/whm.openapi/EcosystemFeatures/is_ready
- A server running WHM.
https://whm-server.tld:2087/json-api/EcosystemFeatures/is_ready
- CLI
- URL
- curl
- JavaScript
- Node.js
- Python
- Java
- Java8+Apache
- C#
- C#+Newtonsoft
- PHP
- Go
- Ruby
- R
whmapi1 --output=jsonpretty \
EcosystemFeatures/is_ready \
plugin='cpanel-pal-plugin' \
namespace='Cpanel'{ "data": { "ready": 1 }, "metadata": { "command": "is_ready", "namespace": "EcosystemFeatures", "reason": "OK", "result": 1, "version": 1 } }
The plugin-based feature's name in the local /var/cpanel/plugins/ directory.
Important: You can only use this function to disable the following features:
- Server Monitoring (Powered by 360 Monitoring).
- WebPros AI Application Builder for cPanel.
- Mock server
https://api.docs.cpanel.net/_mock/specifications/whm.openapi/EcosystemFeatures/local_disable
- A server running WHM.
https://whm-server.tld:2087/json-api/EcosystemFeatures/local_disable
- CLI
- URL
- curl
- JavaScript
- Node.js
- Python
- Java
- Java8+Apache
- C#
- C#+Newtonsoft
- PHP
- Go
- Ruby
- R
whmapi1 --output=jsonpretty \
EcosystemFeatures/local_disable \
plugin='cpanel-monitoring-plugin'{ "metadata": { "command": "local_disable", "reason": "OK", "result": 1, "version": 1 } }
The plugin-based feature's name in the local /var/cpanel/plugins/ directory.
Important: You can only use this function to enable the following features:
- Server Monitoring (Powered by 360 Monitoring).
- WebPros AI Application Builder for cPanel.
- Mock server
https://api.docs.cpanel.net/_mock/specifications/whm.openapi/EcosystemFeatures/local_enable
- A server running WHM.
https://whm-server.tld:2087/json-api/EcosystemFeatures/local_enable
- CLI
- URL
- curl
- JavaScript
- Node.js
- Python
- Java
- Java8+Apache
- C#
- C#+Newtonsoft
- PHP
- Go
- Ruby
- R
whmapi1 --output=jsonpretty \
EcosystemFeatures/local_enable \
plugin='cpanel-monitoring-plugin'{ "metadata": { "command": "local_enable", "reason": "OK", "result": 1, "version": 1 } }