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
- 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/EcosystemFeatures/is_ready?plugin=cpanel-monitoring-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
- 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/EcosystemFeatures/local_disable?plugin=cpanel-monitoring-plugin&namespace=Whostmgr'{ "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
- 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/EcosystemFeatures/local_enable?plugin=cpanel-monitoring-plugin&namespace=Whostmgr'{ "metadata": { "command": "local_enable", "reason": "OK", "result": 1, "version": 1 } }