PUT sub-accounts/:id

Prev Next

FTP Deprecation

On May 1, 2025, Wasabi deprecated support for FTP. Learn more by reviewing FTP Deprecation.

Put Sub-Accounts Id

Updates a sub-account with a specific Id to set the channel account it belongs to.

URL (PUT)

/api/v1/sub-accounts/:id

Parameters

Key Name DescriptionRequired
includeKeys: true/falseIf set to true, when updating another parameter, the access and secret keys are automatically returned in the response

Request Body

{
           "name": "sample-sub-account",
           "wasabiAccountEmail":"wasabi-wacm-api-updated@gmail.com",
           "password": "********",
           "active": true/false,
           "purchasedStorageTB": ####################, (max 20-digits)
           "sendPasswordResetToSubAccountEmail": true,
           "ftpEnabled": true,
           "resetKeys": true, (optional)
           "trialToPaid": true, (optional)
           "trialQuotaTB": #, (unit TB, values can be 1 to 5)
           "trialDays": ##,
           "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,
           "channelAccountId": ####, (optional)
}

Response

{
           "id": ####,
           "name": "sample-sub-account",
           "wasabiAccountNumber": ####,
           "wasabiAccountEmail":"wasabi-wacm-api-updated@gmail.com",
           "creationDate": "2024-01-18T07:15:49.000Z",
           "status": "ON_TRIAL", (can have values: PAID_ACCOUNT, ON_TRIAL, or SUSPENDED)
           "imageUrl": null,
           "sendPasswordResetToSubAccount": true,
           "ftpEnabled": true,
           "trialQuotaTB": #, (unit TB, values can be 1 to 5)
           "trialExpiration": "0001-01-01T00:00:00.000Z"
           "purchasedStorageTB": null,
           "accessKey": "A5PZSAJ3CEG55D9MF39A",
           "secretKey": "ueD6VQAmroVJvytqpfUqIGkFho0jSeecSK7Pe7DV",
           "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,
           "channelAccountId": null,
           "channelAccountName": null,
           "controlAccountId": ####,
           "controlAccountName": "Wasabi Demo",
           "governanceAccountId": null,
           "governanceAccountName": null,
           "ssoEnabled": false,
           "activeStorage": 0,0,
           "deletedStorage": 0,0
        
}
  • Wasabi Admin/Staff/Support should see the above response.  
  • Governance users will not see "governanceAccountId" and "governanceAccountName". 
  • Control Account users will not see "governanceAccountId", "governanceAccountName", "controlAccountId", and "controlAccountName".