Remove cPanel account feature list overrides

This function removes feature overrides from a cPanel account.

SecurityBasicAuth
Request
query Parameters
features
required
Array of strings

An array that contains the features' names.

Note:

  • Call WHM API 1's get_feature_names function to view available features.
Example: features=["sslinstall","videotut"]
user
required
string <username>

The user's username.

Example: user=username
Responses
200

HTTP Request was successful.

Response Schema: application/json
object
get/remove_override_features_for_user
Request samples
whmapi1 --output=jsonpretty \
  remove_override_features_for_user \
  user='username' \
  features='["sslinstall","videotut"]'
Response samples
application/json
{
  • "metadata": {
    • "command": "remove_override_features_for_user",
    • "reason": "OK",
    • "result": 1,
    • "version": 1
    }
}