Return cPanel accounts total number

This function returns the number of cPanel accounts on the server.

SecurityBasicAuth
Responses
200

HTTP Request was successful.

Response Schema: application/json
object
object
get/get_current_users_count
Request samples
whmapi1 --output=jsonpretty \
  get_current_users_count
Response samples
application/json
{
  • "data": {
    • "users": 100
    },
  • "metadata": {
    • "command": "get_current_users_count",
    • "reason": "OK",
    • "result": 1,
    • "version": 1
    }
}