Delete Snapshot

Overview

Deletes a snapshot

注釈

Snapshots are available only for Block Storage Volumes.

Classification

  • Delete

Synchronous / Asynchronous

  • Synchronous

Request

HTTP Request Method

  • DELETE

HTTP Request Path

{api_endpoint}/v1.0/{tenant_id}/snapshots/{snapshot_id}

HTTP Request Header

Format

X-Auth-Token: <token>

HTTP Request Body

  • none

Response

HTTP Response Header

Response Code

Response Codes
Code Description Error? Note
200 OK No Returned in case of success
400 Bad Request Yes  
401 Unauthorized Yes  
409 Tenant is busy Yes Returned if one of creation/update/deletion/restore request is already on-going
500 Internal Server Error Yes  

HTTP Response Body

Response Parameter

Response Parameters
Parameter Type Description Note
api_error_message String Error message in API error case.  

Sample API Request and Response

Sample API Request

curl -s -i -X DELETE https://storage-jp1.ecl.api.ntt.com/v1.0/5846e9724f84439c9b44d7d754a70b96/snapshots/6d122618-0bc1-4897-b909-891adb0f5b26 -H 'Content-type: application/json' -H 'Accept: application/json' -H 'X-Auth-Token: 9b2641e7460b4a5ebae3e9ce0ec472a7'

Sample API Response

HTTP/1.1 200 OK
Date: Wed, 25 Jan 2017 07:11:15 GMT
Server: Apache
Transfer-Encoding: chunked
Content-Type: application/json

{"api_error_message": ""}