This function modifies a cPanel account's bandwidth quota.
HTTP Request was successful.
object | |
object |
whmapi1 --output=jsonpretty \ limitbw \ user='username'
{- "data": {
- "bwlimits": [
- {
- "bwlimit": 0,
- "bwlimitenable": 0,
- "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
}
}