Update feature list

This function creates or updates a feature list.

Authorizations:
query Parameters
featurelist
required
string

The feature list's name.

Example: featurelist=TheBlackLagoon
feature name
integer

Whether to include the feature in the feature list.

Notes:

This parameter's name is the feature's name. If you do not specify any features, the system will disable all features in the feature list.

Enum: 0 1
Example: feature name=1

Responses

Response Schema: application/json
object
object

Request samples

whmapi1 --output=jsonpretty \
  update_featurelist \
  featurelist='TheBlackLagoon'

Response samples

Content type
application/json
{
  • "data": {
    • "featurelist": "TheBlackLagoon",
    • "invalid_features": [
      • {
        • "invalid feature": 1
        }
      ],
    • "updated_features": {
      • "autoresponders": null,
      • "feature name": 1
      }
    },
  • "metadata": {
    • "command": "update_featurelist",
    • "reason": "OK",
    • "result": 1,
    • "version": 1
    }
}