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: Right now, you can only use this function to enable select features:

Enum: "cpanel-monitoring-plugin" "cpanel-sitejet-plugin-beta"
Example: plugin=cpanel-monitoring-plugin
namespace
string
Default: "Whostmgr"

The optional namespace name.

Enum: "Whostmgr" "Cpanel"
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
    }
}