This function lists a hosting plan's (package's) settings.
HTTP Request was successful.
object | |
object |
whmapi1 --output=jsonpretty \ getpkginfo \ pkg='package1'
{- "data": {
- "pkg": {
- "BWLIMIT": "unlimited",
- "CGI": 1,
- "CPMOD": "jupiter",
- "DIGESTAUTH": "n",
- "FEATURELIST": "myfeaturelist",
- "FRONTPAGE": 0,
- "HASSHELL": 1,
- "IP": 1,
- "LANG": "en",
- "MAXADDON": 1,
- "MAXFTP": 2,
- "MAXLST": "unlimited",
- "MAXPARK": 1,
- "MAXPOP": 20,
- "MAXSQL": 1,
- "MAXSUB": 5,
- "MAX_DEFER_FAIL_PERCENTAGE": 10,
- "MAX_EMAILACCT_QUOTA": "unlimited",
- "MAX_EMAIL_PER_HOUR": 100,
- "MAX_TEAM_USERS": 7,
- "QUOTA": 100,
- "_PACKAGE_EXTENSIONS": ""
}
}, - "metadata": {
- "command": "getpkginfo",
- "reason": "OK",
- "result": 1,
- "version": 1
}
}