This function lists data about a reseller's accounts.
HTTP Request was successful.
object | |
object |
whmapi1 --output=jsonpretty \ resellerstats \ user='username'
{- "data": {
- "reseller": {
- "acct": [
- {
- "bandwidthlimit": "500",
- "bandwidthused": 0,
- "deleted": 0,
- "diskquota": "1100.00",
- "diskused": "1.57",
- "domain": "example1.com",
- "package": "default",
- "suspended": 0,
- "user": "example1"
}
], - "bandwidthlimit": 0,
- "bwoverselling": 0,
- "diskoverselling": 0,
- "diskquota": 0,
- "diskused": 5.69,
- "month": 2,
- "totalbwalloc": "500",
- "totalbwused": 0,
- "totaldiskalloc": "1100",
- "user": "username",
- "year": 2019
}
}, - "metadata": {
- "command": "resellerstats",
- "reason": "OK",
- "result": 1,
- "version": 1
}
}