Create Sub-Account

Prev Next
Post
/v1/sub-accounts

The “Create Sub-Account” method is used to create a new Sub-Account for a specific Control Account. The purpose of “Create Sub-Account” is to allow the Distributor/Governance and Control Account users to create new paid/trial Sub-Accounts and specify the Channel Account if necessary.

Limitations include: Only users with specific permissions can use this endpoint!

Security
HTTP
Type basic
Body parameters
string
Example{ "controlAccountId": 3732, "name": "sample-sub-account", "wasabiAccountEmail": "wasabi-wacm-api@gmail.com", "password": "********", "sendPasswordResetToSubAccountEmail": true, "passwordResetRequired": false, "ftpEnabled": true, "isTrial": true, "trialQuotaTB": 1, "trialDays": 30, "channelAccountId": null, "purchasedStorageTB": 1, "storageQuotaType": "Hard quota" }
Responses
200

OK

string
Example{ "id": 12345, "name": "sample-sub-account", "wasabiAccountNumber": 67890, "wasabiAccountEmail": "wasabi-wacm-api@gmail.com", "creationDate": "2024-01-18T07:15:49Z", "status": "ON_TRIAL", "sendPasswordResetToSubAccount": true, "trialQuotaTB": 1, "trialExpiration": "0001-01-01", "accessKey": "A5PZSAJ3CEG55D9MF39A", "secretKey": "ueD6VQAmroVJvytqpfUqIGkFho0jSeecSK7Pe7DV", "ftpEnabled": true, "channelAccountId": null, "channelAccountName": null, "controlAccountId": 3732, "controlAccountName": "Wasabi Demo", "governanceAccountId": null, "governanceAccountName": null, "purchasedStorageTB": 1, "storageQuotaType": "Hard quota" }