GET usages/:id
    • 09 Sep 2024
    • 1 Minute to read
    • PDF

    GET usages/:id

    • PDF

    Article summary

    Get Sub-Account Usage by Id.

    Returns the utilization record for a specified id.

    URL (GET)

    /api/v1/usages/:id

    Parameters

    None

    Request Body

    None

    Response

    {
        "success": true,
        "message": "Successfully read!",
        "data": {
            "id": 1821900,
            "startTime": "2022-02-24",
            "endTime": "2022-02-25",
            "activeStorage": 0,
            "deletedStorage": 0,
            "storageWrote": 0,
            "storageRead": 0,
            "activeObjects": 0,
            "deletedObjects": 0,
            "egress": 0,
            "ingress": 0,
            "apiCalls": 0,
            "subAccountId": 7676,
            "subAccountName": "testing+subaccount+blry+beta1@wasabi.com",
            "subAccountEmail": "testing+subaccount+blry+beta1@wasabi.com",
            "controlAccountId": 17727,
            "controlAccountName": "testing+partner+master+auto+qpbc+beta1@wasabi.com",
            "controlAccountEmail": null,
            "governanceAccountId": null,
            "governanceAccountName": null,
            "wasabiAccountNumber": "650856"
        }
     }



    What's Next