Reset Access Keys

Overview

Reset an access keys for your Wasabi Root Account.

Classification

  • Reset

API Operation Object

  • Wasabi Account

Synchronous / Asynchronous

  • Synchronous

Request

HTTP Request Method

  • POST

HTTP Request Path

{api_endpoint}/tenants/{tenant_id}/account/reset-access-keys

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

{
  "AccessKey": "<AccessKey>",
  "SecretKey": "<SecretKey>",
}

Response Parameter

Password String Wasabi Root Account Access Key <AccessKey>
Password String Wasabi Root Account Secret Key <SecretKey>

Sample Request and Response

Sample API Request

Request URI

https://{api_endpoint}/ecl-objectstorage/tenants/{tenant_id}/account/reset-access-keys

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

{
  "AccessKey": "BLV6SKBP1CGAXWWPR4PD",
  "SecretKey": "wNKxQfYlF2d6WGRi9J7kfFaBUbPGSirCy7Duy7eW"
}