Return reseller's owned accounts' information

This function lists a reseller's total accounts, suspended accounts, and account creation limit.

SecurityBasicAuth
Request
query Parameters
user
string <username>

A reseller's username, to query that reseller. If you do not specify a value, the function lists information for the authenticated account.

Example: user=username
Responses
200

HTTP Request was successful.

Response Schema: application/json
object
object
get/acctcounts
Request samples
whmapi1 --output=jsonpretty \
  acctcounts
Response samples
application/json
{
  • "data": {
    • "reseller": {
      • "active": 9,
      • "limit": 25,
      • "suspended": 5,
      • "user": "root"
      }
    },
  • "metadata": {
    • "command": "acctcounts",
    • "reason": "OK",
    • "result": 1,
    • "version": 1
    }
}