NodeRings Docs

Get Provider Customer Stats

Path must not be `/customers/stats`: some gateways match `/customers/{client_organization_id}` first and treat "stats" as a UUID field (validation error).

GET
/v1/provider/customer-stats
Authorization<token>

Bearer token

In: header

X-Organization-ID<token>

Tenant or organization identifier

In: header

Response Body

application/json

curl -X GET "https://api.nrings.io/v1/provider/customer-stats" \  -H "Authorization: Bearer {your_token}" \  -H "X-Organization-ID: {your_org_id}"
{
  "activeCustomers": 0,
  "inactiveCustomers": 0,
  "totalActiveVms": 0
}