Return disk quota information

This function retrieves the cPanel account's quota.

Authorizations:

Responses

Response Schema: application/json
apiversion
integer

The version of the API.

func
string

The name of the method called.

module
string

The name of the module called.

object

Request samples

uapi --output=jsonpretty \
  --user=username \
  Quota \
  get_quota_info

Response samples

Content type
application/json
{
  • "apiversion": 3,
  • "func": "get_quota_info",
  • "module": "Quota",
  • "result": {
    • "data": {
      • "inode_limit": 0,
      • "inodes_remain": 0,
      • "inodes_used": 1035,
      • "megabyte_limit": 0,
      • "megabytes_remain": 0,
      • "megabytes_used": 5.46,
      • "under_inode_limit": 0,
      • "under_megabyte_limit": 1,
      • "under_quota_overall": 1
      },
    • "errors": null,
    • "messages": null,
    • "metadata": { },
    • "status": 1,
    • "warnings": null
    }
}