Description
This function checks 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 |
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's username. |
A valid FTP username on the cPanel account. |
weeones |
Returns
Return |
Type |
Description |
Possible values |
Example |
data |
string |
The FTP account's quota. |
|
unlimited |