Create Account¶
Overview¶
Create Wasabi Account.
Classification¶
- Create
API Operation Object¶
- Wasabi Account
Synchronous / Asynchronous¶
- Synchronous
Request¶
HTTP Request Method¶
- POST
HTTP Request Path¶
{api_endpoint}/tenants/{tenant_id}/account
HTTP Request Header¶
Accept: application/json
X-Auth-Token: <token>
HTTP Request Body¶
- None
Response¶
HTTP Response Header¶
Format¶
HTTP/1.1 200 OK
- <response_code>: see "HTTP Responses" section
- <message>: message based on the response code
Response Code¶
response code | condition |
---|---|
200 | Request was successful |
400 | Some content in the request was invalid |
401 | User must authenticate before making a request |
403 | Policy does not allow current user to do this operation |
404 | The requested resource could not be found |
409 | Indicates that the request could not be processed because of conflict |
HTTP Response Body¶
Format¶
{
"AcctNum": <AcctNum>,
"AcctName": "<AcctName>",
"Password": "<Password>",
"AccessKey": "<AccessKey>",
"SecretKey": "<SecretKey>",
"CreateTime": "<CreateTime>"
}
Response Parameter¶
item | datatype | description | example |
---|---|---|---|
AcctNum | Integer | Wasabi Account Number | 12345 |
AcctName | String | Wasabi Account Name | <TenantId>@ecl.ntt.com |
Password | String | Wasabi Root Account Initial Password | <Password> |
AccessKey | String | Wasabi Root Account Access Key | <AccessKey> |
SecretKey | String | Wasabi Root Account Secret Key | <SecretKey> |
CreateTime | String | Wasabi Account Create Time | 2019-10-04T07:11:21.000+00:00 |
Sample Request and Response¶
Sample API Request¶
Request URI¶
https://{api_endpoint}/ecl-objectstorage/tenants/{tenant id}/account
Request Header¶
Content-Type: application/json
Accept: application/json
X-Auth-Token: bf8558c3f5374e25a892c9e0c63a2340
Request Body¶
- None
Sample API Response¶
Response Header¶
HTTP/1.1 200 OK
Content-Type: application/json
Date: Fri, 04 Oct 2019 07:11:55 GMT
Response Body¶
{
"AcctNum": 12345,
"AcctName": "bf8558c3f5374e25a892c9e0c63a2340@ecl.ntt.com",
"Password": "821d493e755aae51000d6209a0416bd5",
"AccessKey": "RS8CYARTT5RHIJ92JBJS",
"SecretKey": "d6N0Vwg8JQmDeaoDuz5PzBgRPBSX4UutSCzyDu0o",
"CreateTime": "2019-10-04T07:11:55.000+00:00"
}