Enable feature locally

This function allows you to locally enable a plugin-based feature, even if cPanel & WHM has disabled it for your hosting provider by default. Only WHM users with root-level permissions can locally enable plugin-based features this way.

SecurityBasicAuth
Request
query Parameters
plugin
required
string

The plugin name from the local plugins folder.

Important: You can only use this function to disable the following feature:

Value: "cpanel-monitoring-plugin"
Example: plugin=cpanel-monitoring-plugin
namespace
string
Default: "Whostmgr"

The optional namespace name.

Value: "Whostmgr"
Example: namespace=Whostmgr
Responses
200

HTTP Request was successful.

Response Schema: application/json
object
get/local_enable
Request samples
whmapi1 --output=jsonpretty \
  EcosystemFeatures/local_enable \
  plugin='cpanel-monitoring-plugin'
Response samples
application/json
{
  • "metadata": {
    • "command": "local_enable",
    • "reason": "OK",
    • "result": 1,
    • "version": 1
    }
}