cPanel WHM icon

cPanel WHM

Full cPanel WHM API — all 622 operations across Accounts, DNS, Mail, SSL, Backups, Databases and more

Actions262

IP & Network → Return all cPanel accounts disk usage

AI-generated

Summary

Retrieve disk usage for all cPanel accounts on a WHM server, optionally controlling cache usage for quota information.

Inputs

  • Cache Mode — Set whether to use the server's disk quota cache when retrieving disk usage data. Choose 'on' to use cache for faster but potentially less accurate results, or 'off' to ignore cache for the most up-to-date data.

Output shape

a list of disk usage records for all cPanel accounts on the WHM server

The returned data includes disk usage per account as provided by the WHM API's quota query; accuracy may depend on the cache mode setting. No pagination is indicated in the response.

Links

Discussion