Skip to content

AddHosting - UserAccount

This command is used to create a new cPanel 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 following parameters are standard parameters for this command.

Command
COMMAND = AddHosting
TYPE = useraccount
CLASS = cpanel
OBJECT = (TEXT)
PACKAGE = (TEXT)
X-HOSTING-LOCATION = (TEXT)
ACCOUNTThe cPanel account ID of the end customer.
NAMEOnly for RRPproxy tagging.
OBJECTPrimary domain, such as accountdomain.com.
PACKAGESelected hosting package, e.g. “hosting-5”. To see what predefined packages are available, please check via the web interface or use the “CheckHosting” command.
PASSWORDThis is optional for the user to set their own password, otherwise the system will automatically generate one.
PERIODThe maximum range is 1 to 12, with the default set to 1 month.
RENEWALMODEThe default is auto-renew.
X-HOSTING-LOCATIONTo see the available locations, please use the “CheckHosting” command.
X-PROMOTION-CODEAllows entry of promotion code.

The following parameters are optional for this command.

Command
COMMAND = AddHosting
TYPE = useraccount
CLASS = cpanel
OBJECT = (TEXT)
PACKAGE = (TEXT)
X-HOSTING-LOCATION = (TEXT)
ACCOUNT = (TEXT)
NAME = (TEXT)
PASSWORD = (TEXT)
PERIOD = (INT)
RENEWALMODE = AUTODELETE|AUTORENEW
X-PROMOTION-CODE = (TEXT)