AlphaAlpha Docs
API ReferenceBilling admin

Get tenant usage metrics

Retrieve current usage metrics (users, storage, modules) for a tenant

GET
/billing/admin/tenants/{tenantId}/usage
AuthorizationBearer <token>

In: header

Path Parameters

tenantId*string

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "http://localhost:18080/api/v1/billing/admin/tenants/string/usage"
{
  "activeUserCount": 0,
  "enabledModules": [
    "string"
  ],
  "storageUsedBytes": 0,
  "storageUsedGb": 0.1,
  "tenantId": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}