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) | |
controlAccountEmail | Filter by account email | |
includeDeleted: true/false | If set to true, includes deleted control accounts in the response list | |
includeDeletedSubAccounts: true/false | If set to true, includes deleted sub-accounts in SubAccountsCount |
Request Body
None
Response
{
"success": true,
"message": "Successfully read!",
"data": {
"items": [
{
"id": 43800,
"name": "Cloud Co",
"partnerType": "RESELLER",
"accountType": "Company",
"status": "ACTIVE",
"imageUrl": "https://stage-s.cdn.cloudstoragecdn.com/market/reseller/partner/43800/logo/tNtF5tOAGACw0bL7JM0wbsDLZRE1BYFLRjHPWtAeoQUPsYvfIc.jpg",
"creationDate": "2024-01-26T13:39:15.604Z",
"address1": "address 1",
"address2": "address 2",
"country": "United States",
"city": "some city name",
"state": "Arizona",
"zip": "32323",
"mainPhone": "",
"billingPhone": "",
"contactEmail": "wacm.staging@gmail.com",
"billingEmail": "wacm.staging@gmail.com",
"businessNumber": "123123123444444",
"taxId": "test",
"fiscalNumber": "123123",
"vatNumber": "123123",
"website": "google.com",
"ssoEnabled": true,
"governanceAccountId": 44023,
"governanceAccountName": "Cloud Co Governance",
"channelAccountsCount": 250,
"subAccountsCount": 7,
"controlAccountEmail": "jsample@wasabi.com",
"subAccountStorage": 0.11120602,
"controlAccountStorage": 0.00695434,
"totalStorage": 0.11816036,
"defaultPurchasedStorageTB": 3
}