Description
This function changes an FTP account's quota.
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 FTP account username. |
The username of an FTP account on the cPanel account. |
ftpaccount |
quota |
integer |
Required The new quota. |
|
500 |
kill |
Boolean |
Whether to disable quotas for the FTP account. This parameter defaults to 0. Note: If you disable quotas for an FTP account, you grant that account unlimited disk space. |
|
0 |
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 |
Returns
This function returns only metadata.