v1

latestOpenAPI 3.0.2cPanel License2026-08-06657427.1 MB
Quota
Disk Quotas

Return local disk quota information

This function retrieves the cPanel account's quota for the server where you run the function. For example, a distributed cPanel account could approach its quota. The servers will balance that cPanel user's quota between the parent and the child node.

Note:

This function runs on only the local server. To retrieve the cPanel account's total quota, use the UAPI Quota::get_quota function instead.

get/Quota/get_local_quota_info

Response

HTTP Request was successful.

apiversioninteger

The version of the API.

funcstring

The name of the method called.

modulestring

The name of the module called.

Example response

{
  "apiversion": 3,
  "func": "get_local_quota_info",
  "module": "Quota",
  "result": {
    "data": {
      "byte_limit": 262144000,
      "bytes_used": 4149284,
      "inodes_used": 1035
    },
    "status": 1
  }
}