GET All Sub-Accounts
    • 08 Mar 2024
    • PDF

    GET All Sub-Accounts

    • PDF

    Article Summary

    List all sub-accounts (with summary profile information) that are associated with the Control Account (as authenticated via the API Key).

    GET /v1/accounts

    Sample

    Request: GET /v1/accounts
      Authorization: 40d8404ee22440513dcf0288345c8939

    Response: 200 OK
      Content-Length: 1581
      Content-Type: application/json
      Date: Wed, 17 Jun 2020 11:31:15 GMT
      Vary: Accept-Encoding
      X-Wasabi-Build-Version: 6.6.216-2020-06-16-544c7bf
      X-Wasabi-Cluster-Id: us-east-1
      X-Wasabi-Partner-Api-Version: 1.1
      X-Wasabi-Request-Id: b27222db675fbdc3d2aa213007d7600604ad7734289822dd
      X-Wasabi-Service: partner_api
      X-Wasabi-Service-Runtime-Id: 5a24939f8f6b
    Response-JSON:

      {
           "AcctNum": 30059,
           "AcctName": "jk@wasabi.com",
           "CreateTime": "2020-06-08T12:12:10Z",
           "IsTrial": false,
           "Inactive": false,
           "SendPasswordResetToSubAccountEmail": true
         },
         {
           "AcctNum": 30060,
           "AcctName": "jkc@wasabi.com",
           "CreateTime": "2020-06-08T12:18:47Z",
           "IsTrial": true,
           "TrialExpiry": "2020-07-08T00:00:00Z",
           "QuotaGB": 1000,
           "Inactive": false,
           "SendPasswordResetToSubAccountEmail": false
    }
    Response of various endpoints will show the Wasabi Account Control API version using the "X-Wasabi-Partner-Api-Version" header.