latestOpenAPI 3.0.2cPanel License2026-08-106251554.3 MB

3da41671c02c

Server Administration
System Information

Return server's drive partition information

This function retrieves the server's drive partition information.

get/getdiskusage

Response

HTTP Request was successful.

Example response

{
  "data": {
    "partition": [
      {
        "available": 377856,
        "device": "/dev/vda1",
        "disk": "vda1",
        "filesystem": "/",
        "inodes_available": 20575847,
        "inodes_ipercentage": 2,
        "inodes_total": 20970944,
        "inodes_used": 395097,
        "mount": "/boot",
        "percentage": 20,
        "total": 495844,
        "used": 92388
      }
    ]
  },
  "metadata": {
    "command": "getdiskusage",
    "reason": "Successfully retrieved disk usage",
    "result": 1,
    "version": 1
  }
}