latestOpenAPI 3.0.2cPanel License2026-08-106251554.3 MB

3da41671c02c

Bandwidth and Disk Quotas

Update cPanel account bandwidth quota

This function modifies a cPanel account's bandwidth quota.

get/limitbw

Query parameters

userstring required
Example:username

The username of a cPanel account on the server.

'unlimited'
OR
integer

The account's new bandwidth quota, in megabytes (MB).

  • 0 and unlimited - Grant the user unlimited bandwidth

Response

HTTP Request was successful.

Example response

{
  "data": {
    "bwlimits": [
      {
        "domains": [
          "example.com",
          "addondomain.com",
          "subdomain.example.com"
        ],
        "human_bwlimit": "500 MB",
        "human_bwused": "none",
        "unlimited": 1
      }
    ]
  },
  "metadata": {
    "command": "limitbw",
    "reason": "Bandwidth Limit for username has been set to unlimited megabytes",
    "result": 1,
    "version": 1
  }
}