This function changes the home directory for FTP accounts. |
Examples
|
Parameter | Type | Description | Possible values | Example |
---|---|---|---|---|
user | string | Required The FTP account username. | The username of an FTP account on the cPanel account. |
example1
|
domain | string | The user's associated domain. This parameter defaults to the cPanel account's primary domain. | A domain that the cPanel account owns. | example.com |
homedir | string | The FTP account's home directory. This parameter defaults to the | A relative path from the cPanel account's home directory. |
|
This function returns only metadata.
Function information
About this moduleThe About UAPIFind a functionRelated functions |