AddHosting - SubDomain
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 - SubDomain is available via the following gateways:
Required Parameters
The following parameters are standard parameters for this command.
Command
COMMAND     = AddHosting
TYPE         = SubDomain
CLASS     = cpanel
ACCOUNT    = (TEXT)
OBJECT    = (TEXT)Attributes
| ACCOUNT | The cPanel account ID of the end customer. | 
| DIRECTORY | The directory path for addon domains. | 
| OBJECT | Any domain name like subdomain.accountdomain.com | 
Optional
The following parameters are optional for this command.
Command
COMMAND     = AddHosting
TYPE         = SubDomain
CLASS     = cpanel
ACCOUNT    = (TEXT)
OBJECT    = (TEXT)
DIRECTORY    = (TEXT)