GET /dashboard/service/{id}/dedicated/bandwidth/summary

Get bandwidth summary

Returns a summary of monthly bandwidth usage without time series data.

Parameters

NameTypeInDescription
id*
integerpathThe service ID of the dedicated server

Response

200
403
404
successboolean
dataobject
monthlyUsageGBnumber
monthlyUsageTBnumber
monthlyLimitTBnumbernullable

Request

curl -X GET "https://api.royalehosting.net/dashboard/service/{id}/dedicated/bandwidth/summary" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "x-organization-id: YOUR_ORG_ID"

Response

{
  "success": true,
  "data": {
    "monthlyUsageGB": 150.25,
    "monthlyUsageTB": 0.15,
    "monthlyLimitTB": 10
  }
}