latestOpenAPI 3.0.2cPanel License2026-08-106251554.3 MB

3da41671c02c

Resellers
Account Settings

Return reseller's owned accounts' information

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

get/acctcounts

Query parameters

userstring username
Example:username

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

Response

HTTP Request was successful.

Example response

{
  "data": {
    "reseller": {
      "active": 9,
      "limit": 25,
      "suspended": 5,
      "user": "root"
    }
  },
  "metadata": {
    "command": "acctcounts",
    "reason": "OK",
    "result": 1,
    "version": 1
  }
}