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.
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
}
}