PUT channel-accounts/:id
- 09 Sep 2024
- 1 Minute to read
- Print
- PDF
PUT channel-accounts/:id
- Updated on 09 Sep 2024
- 1 Minute to read
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Put Channel Account
Updates a specific channel account by id.
URL (PUT)
/api/v1/channel-accounts/:id
Query Parameters
None
Request Body
{
"name": "sample-channel-account",
"contactEmail": "wasabi-wacm-api@gmail.com",
"active": true/false,
"purchasedStorageTB": ####################, (max 20-digits)
"subAccountDefaultPurchasedStorageTB": ####################, (max 20-digits)
"address1": null,
"address2": null,
"country": null,
"city": null,
"state": null,
"zip": null,
"mainPhone": null,
"billingPhone": null,
"billingEmail": null,
"businessNumber": null,
"taxId": null,
"fiscalNumber": null,
"vatNumber": null,
"website": null
}
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": ####,
"imageUrl": null,
"address1": null,
"address2": null,
"country": null,
"city": null,
"state": null,
"zip": null,
"mainPhone": "null",
"billingPhone": "null",
"billingEmail": "null",
"businessNumber": "null",
"taxId": "null",
"fiscalNumber": null,
"vatNumber": null,
"website": null,
"controlAccountId": ####,
"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".