Return current user's available feature lists

This function lists the authenticated user's available feature lists.

Notes:

  • When you call this function with the root account, it returns all feature lists on the server.
  • When you call this function with a reseller account, it only returns feature lists that the account owns.
SecurityBasicAuth
Responses
200

HTTP Request was successful.

Response Schema: application/json
object
object
get/get_featurelists
Request samples
whmapi1 --output=jsonpretty \
  get_featurelists
Response samples
application/json
{
  • "data": {
    • "featurelists": [
      • "default",
      • "disabled",
      • "reseller1_test1",
      • "reseller1_test2"
      ]
    },
  • "metadata": {
    • "command": "get_featurelists",
    • "reason": "OK",
    • "result": 1,
    • "version": 1
    }
}