This function lists the authenticated user's available hosting plans (packages).
Important:
This function only returns packages that the authenticated user can access and use during account creation.
HTTP Request was successful.
object | |
object |
whmapi1 --output=jsonpretty \ listpkgs
{- "data": {
- "pkg": [
- {
- "BWLIMIT": "unlimited",
- "CGI": "y",
- "CPMOD": "jupiter",
- "DIGESTAUTH": "n",
- "FEATURELIST": "myfeaturelist",
- "HASSHELL": "n",
- "IP": "n",
- "LANG": "en",
- "MAXADDON": "unlimited",
- "MAXFTP": "unlimited",
- "MAXLST": "unlimited",
- "MAXPARK": "unlimited",
- "MAXPOP": "unlimited",
- "MAXSQL": "unlimited",
- "MAXSUB": "unlimited",
- "MAX_DEFER_FAIL_PERCENTAGE": "unlimited",
- "MAX_EMAILACCT_QUOTA": "unlimited",
- "MAX_EMAIL_PER_HOUR": "unlimited",
- "MAX_TEAM_USERS": 7,
- "QUOTA": "unlimited",
- "_PACKAGE_EXTENSIONS": "",
- "name": "package1"
}
]
}, - "metadata": {
- "command": "listpkgs",
- "reason": "OK",
- "result": 1,
- "version": 1
}
}