Description
This function changes the home directory for a Web Disk account.
Examples
Note:
Use cPanel's API Shell interface (Home >> Advanced >> API Shell) to directly test cPanel API calls.
Parameters
Parameter |
Type |
Description |
Possible values |
Example |
user |
string |
Required The Web Disk account username. |
The username of a Web Disk account on the cPanel account. |
example1@example.com |
homedir |
string |
Required The Web Disk account's home directory. |
A relative path from the cPanel account's home directory. |
example1/ |
private |
Boolean |
Whether to set the Web Disk directory's permissions to public or private. This parameter defaults to 0. |
|
0 |
Returns
This function only returns metadata.