latestOpenAPI 3.0.2cPanel License2026-08-106251554.3 MB

3da41671c02c

Packages
Updates

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.
get/manage_features

Query parameters

action'info' | 'list' | 'enable' | 'disable' required
Example:info

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.
featuresstring
Example:features_example1

The feature's ID.

Note:

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

Response

HTTP Request was successful.

Example response

{
  "data": {
    "feature": [
      {
        "description": "This feature does things.",
        "enabled": 1,
        "feature_key": "featured_example1",
        "link": "https://go.cpanel.net/featureshowcasefeatured_example1",
        "name": "Featured Example 1",
        "recommended": 1,
        "vendor": "Third Party, Inc."
      },
      {
        "description": "This feature also does things.",
        "enabled": 1,
        "feature_key": "featured_example2",
        "link": "https://go.cpanel.net/featureshowcasefeatured_example2",
        "name": "Featured Example 2",
        "recommended": 1,
        "vendor": "WebPros International, LLC"
      }
    ]
  },
  "metadata": {
    "command": "manage_features",
    "reason": "OK",
    "result": 1,
    "version": 1
  }
}