AddHosting - Package
This command is used to create a new cPanel user account with a specific "TYPE". There is a separate API command page for each specific "TYPE". Please kindly note the "TYPE" parameter value here. Different parameters are needed for different "TYPE".
Possible Gateways
The command AddHosting - Package is available via the following gateways:
Required Parameters
The following parameters are standard parameters for this command.
Command
COMMAND = AddHosting
TYPE = Package
CLASS = cpanel
FEATURELIST = (TEXT)
PACKAGE = (TEXT)
QUOTA = (INT)
PACKAGECGI = 1|0
PACKAGELANGUAGE = (TEXT)
PACKAGEMAXFTP = (INT)
PACKAGEMAXSQL = (INT)
PACKAGEMAXPOP = (INT)
PACKAGEMAXSUB = (INT)
PACKAGEMAXPARK = (INT)
PACKAGEMAXADDON = (INT)
PACKAGEBANDWIDTHLIMIT = (INT)
PACKAGEMAXLISTS = (INT)
PACKAGEMAXEMAILACCTQUOTA = (INT)
PACKAGEEXTENSIONS = softinstcount
PACKAGEMAXSOFTINST = (INT)
Attributes
| FEATURELIST | The name of the feature list associated with the package. |
| PACKAGE | Selected hosting package, e.g. "hosting-5". To see what predefined packages are available, please check via the web interface or use the "CheckHosting" command. |
| QUOTA | The quota predefined in the package. |
| PACKAGECGI | 1|0 |
| PACKAGELANGUAGE | de,en,fr,... |
| PACKAGEMAXFTP | The limit defined in the package. |
| PACKAGEMAXSQL | The limit defined in the package. |
| PACKAGEMAXPOP | The limit defined in the package. |
| PACKAGEMAXSUB | The limit defined in the package. |
| PACKAGEMAXPARK | The limit defined in the package. |
| PACKAGEMAXADDON | The limit defined in the package. |
| PACKAGEBANDWIDTHLIMIT | The limit defined in the package. |
| PACKAGEMAXLISTS | The limit defined in the package. |
| PACKAGEMAXEMAILACCTQUOTA | The limit defined in the package. |
| PACKAGEEXTENSIONS | The limit defined in the package. |
| PACKAGEMAXSOFTINST | The maximum allowed Softaculous installations per useraccount. |