cPanel WHM icon

cPanel WHM

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

Actions262

IP & Network → Update cPanel account disk quota

AI-generated

Summary

Update the disk quota for a specified cPanel account by setting the maximum allowed disk space in megabytes.

Inputs

  • User (required) — The username of the cPanel account whose disk quota will be updated.
  • Quota (required) — The new disk quota for the account, expressed as a positive integer in megabytes (MB). Use 0 or 'unlimited' for no disk space limit.

Output shape

a single JSON object containing the WHM API response indicating success or failure of the quota update.

The response may include error details if the operation fails. The output is not paginated and represents the immediate result of the quota update request.

Links

Discussion