POST channel-accounts

Prev Next

Post a Channel Account

Creates a new channel account.

URL (POST)

/api/v1/channel-accounts

Query Parameters

None

Request Body

If a Wasabi Admin or Account Governance user is creating the channel account, they must specify the control account to place the channel account under. If the control account user is creating the channel account, there is no need to specify the control account.

{
      "controlAccountId": ####,
      "name": "sample-channel-account",
      "contactEmail": " wasabi-wacm-api@gmail.com ",
      "purchasedStorageTB": ####################, (max 20-digits; optional)
}

Response

{
      "id": ####,
      "name": "sample-channel-account",
      "contactEmail": "wasabi-wacm-api@gmail.com",
      "creationDate": "2024-01-31T07:15:49.000Z",
      "status": "Active", (can have values: Active or Deactivated)
      "purchasedStorageTB": ####,
      "subAccountDefaultPurchasedStorageTB": ####,
      "subAccountStorage": ####,
      "subAccountsCount": ####,
      "controlAccountId": 3732,
      "controlAccountName": "Wasabi Demo",
      "governanceAccountId": null,
      "governanceAccountName": null
}
  • Wasabi Admin/Staff/Support will see the above response.  
  • Governance users will not see "governanceAccountId" and "governanceAccountName". 
  • Control Account users will not see "governanceAccountId", "governanceAccountName", "controlAccountId", and "controlAccountName".