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.
Authorizations:

Responses

Response Schema: application/json
object
object

Request samples

whmapi1 --output=jsonpretty \
  get_featurelists

Response samples

Content type
application/json
{
  • "data": {
    • "featurelists": [
      • "default",
      • "disabled",
      • "reseller1_test1",
      • "reseller1_test2"
      ]
    },
  • "metadata": {
    • "command": "get_featurelists",
    • "reason": "OK",
    • "result": 1,
    • "version": 1
    }
}