Get bandwidth history
GET /api/reseller/v1/subusers/{id}/bandwidth/history: allocation history for a subuser
GET
https://www.eclipseproxy.com/api/reseller/v1/subusers/{id}/bandwidth/historyBearer authRetrieve the bandwidth allocation and deallocation history for a subuser.
Example request
Authentication
Requires a reseller API key. Pass it as Authorization: Bearer YOUR_API_KEY or X-API-Key: YOUR_API_KEY. See Reseller overview.
Path parameters
idpathstringrequiredThe subuser username (full prefixed username, e.g. MYSTORE_user1).
Response
data.history is an array of allocation events, each with:
actionstringADD (bandwidth allocated to the subuser) or REMOVE (bandwidth deallocated).
amountMbnumberAmount of bandwidth moved, in MB.
atstringTimestamp of the event (ISO 8601).
Example response
Errors
- 401
UNAUTHORIZED: missing or invalid API key - 403
NOT_RESELLER: account is not a reseller - 404
NOT_FOUND: no subuser with that username

