List Accounts¶
Overview¶
List all accounts that are associated with the Tenant.
Classification¶
- List
API Operation Object¶
- Wasabi Account
Synchronous / Asynchronous¶
- Synchronous
Request¶
HTTP Request Method¶
- GET
HTTP Request Path¶
{api_endpoint}/tenants/{tenant_id}/accounts
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 |
---|---|
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 |
HTTP Response Body¶
Format¶
[
{
"AcctNum": <AcctNum>,
"AcctName": "<AcctName>",
"CreateTime": "<CreateTime>",
"DeleteTime": "<DeleteTime>"
}
]
Response Parameter¶
item | datatype | description | example |
---|---|---|---|
AcctNum | Integer | Account Number | 12345 |
AcctName | String | Account Name | <TenantId>@ecl.ntt.com |
CreateTime | String | Account Create Time | 2019-10-04T07:11:21.000Z |
DeleteTime | String | Account Delete Time | 2020-12-08T19:48:32.000Z |
Sample Request and Response¶
Sample API Request¶
Request URI¶
https://{api_endpoint}/ecl-objectstorage/tenants/{tenant id}/accounts
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: Thu, 17 Jul 2014 04:21:06 GMT
Response Body¶
[
{
"AcctNum": 12345,
"AcctName": "f9124b4fd5f73486c7c08018f6582ee0@ecl.ntt.com",
"CreateTime": "2019-10-04T07:11:21.000Z",
"DeleteTime": "2020-12-08T19:48:32.000Z"
},
{
"AcctNum": 12347,
"AcctName": "f9124b4fd5f73486c7c08018f6582ee0@ecl.ntt.com",
"CreateTime": "2020-12-17T00:52:34.000Z",
"DeleteTime": null
}
]