Skip to main content
GET
Get Total Number Of Users By Role

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

role
enum<string>
required

Role to count users for.

Available options:
customer,
vendor,
subvendor,
user,
admin

Response

200 - application/json

Total users for role found

count
integer

Total number of users for the role.

role
string

The role counted.