GET control-accounts

Prev Next

Get Control Accounts

Return a list of all the Control Accounts associated with the Governance Account.

URL (GET)

/api/v1/control-accounts

Parameters

Key Name

Description

Required

page

List page number

No

size

List page size

No

id

Filter by account id

No

name

Filter by account name

No

governanceAccountId

Filter by account governanceAccountId

No

status

Filter by account status (active, inactive)

No

wasabiAccountName

Filter by account wasabiAccountName

No

primaryApiKey

List primary API key

includeApiKey

Include API key (true)

Request Body

None

Response

{
    "success": true,
    "message": "Successfully read!",
    "data": {
        "items": [
            {
                "id": 29915,
                "name": "Cloud co",
                "category": null,
                "partnerType": "RESELLER",
                "accountType": "Company",
                "status": "Active",
                "imageUrl": null,
                "creationDate": "2022-04-07T17:24:14.490Z",
                "address1": null,
                "address2": null,
                "country": null,
                "city": null,
                "state": null,
                "zip": null,
                "mainPhone": null,
                "billingPhone": null,
                "contactEmail": null,
                "billingEmail": null,
                "businessNumber": null,
                "taxId": null,
                "fiscalNumber": null,
                "vatNumber": null,
                "website": null,
                "governanceAccountId": null,
                "governanceAccountName": null,
                "subAccountsCount": 4,
                "wasabiAccountName": "example@example.com",
                "subAccountStorage": 120.54404435
},
            {
                "id": 4683,
                "name": "Control Account Example",
                "category": null,
                "partnerType": "RESELLER",
                "accountType": "Company",
                "status": "Active",
                "imageUrl": null,
                "creationDate": "2021-02-18T10:31:00.919Z",
                "address1": null,
                "address2": null,
                "country": null,
                "city": null,
                "state": null,
                "zip": null,
                "mainPhone": null,
                "billingPhone": null,
                "contactEmail": null,
                "billingEmail": null,
                "businessNumber": null,
                "taxId": null,
                "fiscalNumber": null,
                "vatNumber": null,
                "website": null,
                "governanceAccountId": null,
                "governanceAccountName": null,
                "subAccountsCount": 1,
                "wasabiAccountName": null,
                "subAccountStorage": 12.01171875
            },