Show Account

Overview

Show Wasabi Account.

Classification

  • Show

API Operation Object

  • Wasabi Account

Synchronous / Asynchronous

  • Synchronous

Request

HTTP Request Method

  • GET

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

HTTP Response Body

Format

{
  "AcctNum": <AcctNum>,
  "AcctName": "<AcctName>",
  "CreateTime": "<CreateTime>"
}

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.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",
  "CreateTime": "2019-10-04T07:11:55.000+00:00"
}