curl --request GET \
--url https://crypto.westminister.tech/api/v1/auth/users/count/role/{role} \
--header 'Authorization: Bearer <token>'{
"count": 5,
"role": "customer"
}Returns the total number of users for the specified role.
curl --request GET \
--url https://crypto.westminister.tech/api/v1/auth/users/count/role/{role} \
--header 'Authorization: Bearer <token>'{
"count": 5,
"role": "customer"
}Documentation Index
Fetch the complete documentation index at: https://docs.crypto.westminister.tech/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Role to count users for.
customer, vendor, subvendor, user, admin