MENU
      deleteBlockStorageInstances

        deleteBlockStorageInstances


        Article summary

        Overview

        Deletes Block Storage instances, which must be detached first.

        Request

        Request parameters

        ParameterRequiredTypeLimitationsDescription
        blockStorageInstanceNoList.NYList<String>Duplicates not allowed.List of Block Storage instance numbers to delete
        Get available values by using the getBlockStorageInstanceList action.
        Example) blockStorageInstanceNoList.1=1089090&blockStorageInstanceNoList.2=121636

        Response

        Response body

        Examples

        Request example

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

        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>
        XML

        Error codes

        Errors that may occur while using this action are listed below. For information on common errors, refer to NAVER Cloud Platform API.

        HTTP response codeReturn codeReturn message
        40010713Not found contract information. Please check your input parameter.
        40024002It seems that storage {0} is mounted to server {1}. Please unmount the storage and try again.
        40024109The input parameter instance number is invalid
        40024121The input parameter storage instance number is invalid.
        40025002Unable to perform deallocation command since (other) user is operating target server to be allocated with storage or an error in target server.
        40025003Unable to perform deallocation command since (other) user is operating target server or the it has already been deallocated.
        40025004Unable to return since (other) user is either operating the target storage or an error in target storage.

        Was this article helpful?

        Changing your password will log you out immediately. Use the new password to log back in.
        First name must have atleast 2 characters. Numbers and special characters are not allowed.
        Last name must have atleast 1 characters. Numbers and special characters are not allowed.
        Enter a valid email
        Enter a valid password
        Your profile has been successfully updated.