latestOpenAPI 3.0.2cPanel License2026-08-106251554.3 MB

3da41671c02c

Packages
Hosting Plans

Return hosting plan configuration

This function lists a hosting plan's (package's) settings.

get/getpkginfo

Query parameters

pkgstring required
Example:package1

The hosting plan's name.

Response

HTTP Request was successful.

Example response

{
  "data": {
    "pkg": {
      "CGI": 1,
      "CPMOD": "jupiter",
      "DIGESTAUTH": "n",
      "FEATURELIST": "myfeaturelist",
      "HASSHELL": 1,
      "IP": 1,
      "LANG": "en",
      "MAX_TEAM_USERS": 7
    }
  },
  "metadata": {
    "command": "getpkginfo",
    "reason": "OK",
    "result": 1,
    "version": 1
  }
}