Update Feature Showcase

This function lists and manages items in the Feature Showcase.

Note:

  • This function's output changes, depending on which value you pass to the action parameter.
  • The example in this document displays the function's return when the action parameter value is info.
Authorizations:
query Parameters
action
required
string

The function's action.

  • info — List full details for all available features.
  • list — List the feature IDs for all available features.
  • enable — Enable the feature or features called in the features parameter.
  • disable — Disable the feature or features called in the features parameter.
Enum: "info" "list" "enable" "disable"
Example: action=info
features
string

The feature's ID.

Note:

You must use this parameter if you pass the enable or disable value for the action parameter.

Example: features=features_example1

Responses

Response Schema: application/json
object
object

Request samples

whmapi1 --output=jsonpretty \
  manage_features \
  action='info'

Response samples

Content type
application/json
{
  • "data": {},
  • "metadata": {
    • "command": "manage_features",
    • "reason": "OK",
    • "result": 1,
    • "version": 1
    }
}