v1

latestOpenAPI 3.0.2cPanel License2026-08-06657427.1 MB
ResourceUsage
Resource Usage and Statistics

Return resource usage and custom statistics

This function retrieves resource usage and custom statistics for a cPanel user account.

get/ResourceUsage/get_usages

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_usages",
  "module": "ResourceUsage",
  "result": {
    "data": [
      {
        "description": "MySQL® Databases",
        "id": "mysql_databases",
        "maximum": 15,
        "url": "sql/index.html"
      }
    ],
    "status": 1
  }
}