latestOpenAPI 3.0.2cPanel License2026-08-106251554.3 MB

3da41671c02c

Packages
Feature Lists

Create feature list

This function creates or updates a feature list.

Note:

A reseller must possess the Add/Remove Package feature to use this function.

get/create_featurelist

Query parameters

featureliststring required
Example:CustomFeatureList

The feature list's name.

featurelistname1 | 0
Example:1

Whether to add a specific feature in the feature list.

  • 1 — Add the feature.
  • 0 — Do not add the feature.

Note:

  • The parameter's name is a feature's name. For example, the changemx=1 adds the Change Mail Exchanger feature to the feature list.

  • You can add or omit multiple features.

overwrite1 | 0
Example:1

Whether to overwrite an existing feature list.

  • 1 — Overwrite.
  • 0 — Do not overwrite.

Response

HTTP Request was successful.

Example response

{
  "data": {
    "featurelist": "Arthur"
  },
  "metadata": {
    "command": "create_featurelist",
    "reason": "OK",
    "result": 1,
    "version": 1
  }
}