Description
This function changes an FTP account's password.
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 |
domain |
string |
The user's associated domain. This parameter defaults to the cPanel account's primary domain. Note: We introduced this parameter in cPanel & WHM version 54. |
A domain that the cPanel account owns. |
example.com |
user |
string |
Required The FTP account username. |
The username for an FTP account on the cPanel account. |
ftpaccount |
pass |
string |
Required The FTP account's new password. |
A secure password. |
12345luggage |
Returns
This function returns only metadata.