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 bandwidth quota

AI-generated

Summary

Update the bandwidth quota in megabytes (MB) for a specified cPanel user account on the server.

Inputs

  • User (required) — The username of the cPanel account whose bandwidth quota you want to update.
  • Additional Fields — Optional parameters for the bandwidth update, including the new bandwidth quota ('Bwlimit'), which can be set to a numeric value in MB or '0'/'unlimited' to grant unlimited bandwidth.

Output shape

a single object containing the WHM API response confirming the update status.

The response reflects the result of the bandwidth quota update operation. The bandwidth quota parameter ('Bwlimit') supports resetting to unlimited by specifying '0' or 'unlimited'. Errors are returned in the response if the update fails.

Examples

Example 1: Set bandwidth quota to 5000 MB for user 'exampleuser'

Provide 'exampleuser' as User and set Bwlimit to '5000' in Additional Fields.

Links

Discussion