---
title: "Update cPanel account bandwidth quota"
method: GET
path: "/limitbw"
tags: ["Bandwidth and Disk Quotas"]
---

# Update cPanel account bandwidth quota

`GET /limitbw`

This function modifies a cPanel account's bandwidth quota.

## Query parameters

- `user` string, required
- `bwlimit` union
  - 'unlimited'
  - integer

## Response `200`

HTTP Request was successful.

- object
  - `data` object
    - `bwlimits` object[] — An array of objects containing account information.
      - `bwlimit` integer — The account's new bandwidth quota, in megabytes (MB). * `0` - The user has unlimited bandwidth.
      - `bwlimitenable` 0 | 1 — Whether bandwidth limiting is enabled for the account. * `1` - Enabled. * `0` - Disabled.
      - `domains` string[] — An array of all of the cPanel account's domains.
      - `human_bwlimit` string — The account's bandwidth quota, in human-readable format. * `unlimited` - The user has unlimited bandwidth. * A positive integer that represents a maximum monthly bandwidth use, a space, and the string MB.
      - `human_bwused` string — The account's current bandwidth usage, in human-readable format. * `none` * A positive integer that represents the amount of bandwidth used, a space, and the string MB.
      - `unlimited` 0 | 1 — Whether the account's bandwidth quota is unlimited. * `1` - Unlimited. * `0` - Not unlimited.
  - `metadata` object
    - `command` string — The method name called.
    - `reason` string — The reason the API function failed when the `metadata.result` field is 0. This field may display a success message when a function succeeds.
    - `result` 0 | 1 — * `1` - Success * `0` - Failed: Check the reason field for more details.
    - `version` integer — The version of the API function.

---

[API](https://skmtc.net/cpanel/apis/whm-api.md) · [All operations](https://skmtc.net/cpanel/apis/whm-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/cpanel/whm-api/revisions/3da41671c02c/schema)
