Description
This function retrieves the cPanel user's quota.
Examples
Note:
Use cPanel's API Shell interface (Home >> Advanced >> API Shell) to directly test cPanel API calls.
Parameters
This function does not accept parameters.
Returns
Return |
Type |
Description |
Possible Values |
Example |
inode_limit |
integer |
The account's inode quota limit.
|
|
0 |
inodes_remain |
integer |
The account's available inode quota.
|
|
0 |
inodes_used |
integer |
The account's number of used inodes. |
|
1035 |
megabyte_limit |
float |
The account's disk space limit, in Megabytes (MB). |
|
0.00 |
megabytes_remain |
float |
The account's available disk space in, Megabytes (MB). |
|
0.00 |
megabytes_used |
float |
The account's used disk space, in Megabytes (MB). |
|
5.46 |
under_inode_limit |
boolean |
Whether the account is under its inode limit. |
|
0 |
under_quota_overall |
boolean |
Whether the account is under both its inode and disk Megabyte (MB) limit. |
|
1 |
under_megabyte_limit |
boolean |
Whether the account is under its disk space limit, inMegabytes (MB). |
|
1 |