Packages
Feature Lists
(Deprecated) Read feature list settings
DEPRECATED: Use get_featurelist_data instead.
This function reads a feature list and returns a hash that maps feature IDs to values indicating whether each feature is enabled.
Notes:
- The function requires the featurelist parameter to specify which feature list to read.
- Access is controlled based on user permissions. Resellers can only access their own feature lists.
get/read_featurelist
Query parameters
featureliststring required
The name of the feature list to read.
Response
HTTP Request was successful.
Example response
{
"data": {
"featurelist": "default",
"features": {
"addondomains": 1,
"changemx": 1,
"webmail": 0,
"ssl": 1
}
},
"metadata": {
"command": "read_featurelist",
"reason": "OK",
"result": 1,
"version": 1
}
}