Return disk quota information

This function retrieves the cPanel account's quota.

SecurityBasicAuth
Responses
200

HTTP Request was successful.

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
get/Quota/get_quota_info
Request samples
uapi --output=jsonpretty \
  --user=username \
  Quota \
  get_quota_info
Response samples
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
    }
}