Add cPanel account feature list overrides

This function adds feature overrides to a cPanel account.

SecurityBasicAuth
Request
query Parameters
required
object

A JSON-encoded list of features to override and whether to enable or disable them.

Example: features={"backup":1}
user
required
string <username>

The cPanel username.

Example: user=username
Responses
200

HTTP Request was successful.

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