MENU
      detachBlockStorageInstances

        detachBlockStorageInstances


        Article summary

        Can be used in a VPC environment.

        Overview

        This unassigns the list of block storage instances from the server instance.

        Request

        Request parameters

        Parameter nameRequiredTypeRestrictionsDescription
        regionCodeNoStringRegion code
        You can decide the region of the block storage instance to be unassigned from the server instance.
        regionCode can be obtained through the getRegionList action.
        Default: Select the first region of the getRegionList search results
        blockStorageInstanceNoList.NYesList<String>List of block storage instance numbers
        This determines the block storage instance number to be unassigned from the server instance.
        blockStorageInstanceNo can be obtained through the getBlockStorageInstanceList action.
        ex) blockStorageInstanceNoList.1=1234&blockStorageInstanceNoList.2=2345
        responseFormatTypeNoStringFormat type of the response results
        Options : xml | json
        Default : xml

        Response

        Response body

        Example

        Request Example

        GET {API_URL}/detachBlockStorageInstances
        ?regionCode=KR
        &blockStorageInstanceNoList.1=***7746
        HTTP

        Response Example

        <detachBlockStorageInstancesResponse>
          <requestId></requestId>
          <returnCode>0</returnCode>
          <returnMessage>success</returnMessage>
          <totalRows>1</totalRows>
          <blockStorageInstanceList>
            <blockStorageInstance>
              <blockStorageInstanceNo>***7746</blockStorageInstanceNo>
              <serverInstanceNo>***4299</serverInstanceNo>
              <blockStorageName>test-***</blockStorageName>
              <blockStorageType>
                <code>SVRBS</code>
                <codeName>Server BS</codeName>
              </blockStorageType>
              <blockStorageSize>53687091200</blockStorageSize>
              <deviceName>/dev/xvdb</deviceName>
              <blockStorageProductCode>SPBSTBSTAD000006</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>2020-08-25T09:18:34+0900</createDate>
              <blockStorageDescription></blockStorageDescription>
              <blockStorageDiskType>
                <code>NET</code>
                <codeName>Network Storage</codeName>
              </blockStorageDiskType>
              <blockStorageDiskDetailType>
                <code>SSD</code>
                <codeName>SSD</codeName>
              </blockStorageDiskDetailType>
              <maxIopsThroughput>4000</maxIopsThroughput>
              <isEncryptedVolume>false</isEncryptedVolume>
              <zoneCode>KR-1</zoneCode>
              <regionCode>KR</regionCode>
              <isReturnProtection>false</isReturnProtection>
            </blockStorageInstance>
          </blockStorageInstanceList>
        </detachBlockStorageInstancesResponse>
        XML

        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.