cPanel WHM icon

cPanel WHM

Full cPanel WHM API — all 622 operations across Accounts, DNS, Mail, SSL, Backups, Databases and more

Actions262

Package → Create feature list

AI-generated

Summary

Create a new WHM feature list with a specified name, optionally including or excluding specific features, and choose whether to overwrite an existing feature list with the same name.

Inputs

  • Featurelist (required) — The name of the feature list to create.
  • Additional Fields — Optional parameters including specific features to add or exclude in the feature list, and an overwrite flag to determine if an existing feature list with the same name should be overwritten.

Output shape

a single record containing the API response about the created feature list

The output returns the WHM API response which indicates success or failure of the feature list creation. It may contain status and error information if the creation failed.

Examples

Example 1: Create a feature list named "custom_features" that adds the 'changemx' feature and overwrites any existing feature list with that name.

Set 'Featurelist' to 'custom_features', set 'changemx' feature flag to 1 in Additional Fields, set 'Overwrite' flag to 1.

Links

Discussion