Skip to content

AddHosting - FTPUser

This command is used to create a new cPanel FTP user 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 = ftpuser
CLASS = cpanel
ACCOUNT = (TEXT)
OBJECT = ftp-user1
PASSWORD = (TEXT)
ACCOUNTThe cPanel account ID of the end customer.
DIRECTORYThe directory path for addon domains.
OBJECTAny domain name.
PASSWORDThis is optional for the user to set their own password, otherwise the system will automatically generate one.

The following parameters are optional for this command.

Command
COMMAND = AddHosting
TYPE = ftpuser
CLASS = cpanel
ACCOUNT = (TEXT)
OBJECT = ftp-user1
PASSWORD = (TEXT)
DIRECTORY = (TEXT)