deleteBlockStorageInstances

Prev Next

Overview

Delete a block storage instance. Delete after detaching.

Request

Request parameters

Parameter name Required Type Restrictions Description
blockStorageInstanceNoList.N Yes List<String> It can't be duplicated. - List of the block storage instance number to be deleted
blockStorageInstanceNo can be obtained through the getBlockStorageInstanceList action.
e.g., blockStorageInstanceNoList.1=1089090&blockStorageInstanceNoList.2=121636
responseFormatType No String - Format type of the response result
Options: xml | json
Default: xml

Response

Response body

Examples

Request example

GET {SERVER_API_URL}/deleteBlockStorageInstances
?blockStorageInstanceNoList.1=1089090

Response example

<deleteBlockStorageInstancesResponse>
  <requestId>787ab14e-f87b-4ad7-bba0-4905dd94aeec</requestId>
  <returnCode>0</returnCode>
  <returnMessage>success</returnMessage>
  <totalRows>1</totalRows>
  <blockStorageInstanceList>
    <blockStorageInstance>
      <blockStorageInstanceNo>1089090</blockStorageInstanceNo>
      <serverInstanceNo>1021003</serverInstanceNo>
      <serverName>s1669aa4e78c</serverName>
      <blockStorageType>
        <code>SVRBS</code>
        <codeName>Server BS</codeName>
      </blockStorageType>
      <blockStorageName>bst167588711f2</blockStorageName>
      <blockStorageSize>10737418240</blockStorageSize>
      <deviceName>/dev/xvdb</deviceName>
      <blockStorageProductCode>SPBSTBSTAD000002</blockStorageProductCode>
      <blockStorageInstanceStatus>
        <code>ATTAC</code>
        <codeName>Block storage ATTACHED state</codeName>
      </blockStorageInstanceStatus>
      <blockStorageInstanceOperation>
        <code>DETAC</code>
        <codeName>Block Storage RESTART OP</codeName>
      </blockStorageInstanceOperation>
      <blockStorageInstanceStatusName>detaching</blockStorageInstanceStatusName>
      <createDate>2018-11-28T13:15:06+0900</createDate>
      <blockStorageInstanceDescription></blockStorageInstanceDescription>
      <diskType>
        <code>NET</code>
        <codeName>Network Storage</codeName>
      </diskType>
      <diskDetailType>
        <code>HDD</code>
        <codeName>HDD</codeName>
      </diskDetailType>
      <zone>
        <zoneNo>3</zoneNo>
        <zoneName>KR-2</zoneName>
        <zoneCode>KR-2</zoneCode>
        <zoneDescription>Pyeongchon zone</zoneDescription>
        <regionNo>1</regionNo>
      </zone>
    </blockStorageInstance>
  </blockStorageInstanceList>
</deleteBlockStorageInstancesResponse>

Errors

Errors that may occur while using this action are listed below. For more information about common errors, see NAVER Cloud Platform API.

HTTP Response Code Return code Return message
400 10713 Not found contract information. Please check your input parameter.
400 24002 It seems that storage {0} is mounted to server {1}. Please unmount the storage and try again.
400 24109 The input parameter instance number is invalid.
400 24121 The input parameter storage instance number is invalid.
400 25002 Unable to perform deallocation command since (other) user is operating target server to be allocated with storage or an error in target server.
400 25003 Unable to perform deallocation command since (other) user is operating target server or the it has already been deallocated.
400 25004 Unable to return since (other) user is either operating the target storage or an error in target storage.