NodeRings Docs

Get Prefix Utilization

Utility

GET
/v1/ipam/prefixes/{prefixId}/utilization
Authorization<token>

Bearer token

In: header

X-Organization-ID<token>

Tenant or organization identifier

In: header

Path Parameters

prefixIdstring

Response Body

application/json

curl -X GET "https://api.nrings.io/v1/ipam/prefixes/{prefixId}/utilization" \  -H "Authorization: Bearer {your_token}" \  -H "X-Organization-ID: {your_org_id}"
{
  "totalIps": 0,
  "allocatedCount": 0,
  "reservedCount": 0,
  "availableCount": 0,
  "utilizationPercent": 0.1,
  "vmAssignmentPrefixLength": 0,
  "capacityUnitLabel": "string",
  "capacityIsOpenEnded": true
}