Documentation Index

Fetch the complete documentation index at: https://cli.ncloud-docs.com/llms.txt

Use this file to discover all available pages before exploring further.

detachBlockStorageInstances

Prev Next

Available in VPC

Remove the list of block storage instances assigned to a server instance.

Syntax

The detachBlockStorageInstances syntax is as follows:

./ncloud vserver detachBlockStorageInstances \
    --blockStorageInstanceNoList <block-storage-instance-no-list> \
    [--regionCode <KR|SGN|JPN>] \
    [--output <json|xml>]

Options

This section describes the options available when running detachBlockStorageInstances.

Required options

The following options are required for detachBlockStorageInstances.

Options Type Required Description
--blockStorageInstanceNoList List Required Block storage number list

Common options

For information about the options common to all vserver subcommands, see Server (VPC) options.

Examples

If the request to release a block storage instance is successful, the latest information about the block storage instance is returned.

Command

The command example is as follows:

./ncloud vserver detachBlockStorageInstances \
    --blockStorageInstanceNoList 89012345 \
    --regionCode KR \
    --output json

Output

The output example is as follows:

{
  "detachBlockStorageInstancesResponse": {
    "totalRows": 1,
    "blockStorageInstanceList": [
      {
        "blockStorageInstanceNo": "89012345",
        "serverInstanceNo": "34567890",
        "blockStorageName": "test-block-storage-01",
        "blockStorageType": {
          "code": "SVRBS",
          "codeName": "Server BS"
        },
        "blockStorageSize": 53687091200,
        "deviceName": "/dev/xvdb",
        "blockStorageProductCode": "SPBSTBSTAD000006",
        "blockStorageInstanceStatus": {
          "code": "ATTAC",
          "codeName": "Block storage ATTACHED status"
        },
        "blockStorageInstanceOperation": {
          "code": "DETAC",
          "codeName": "Block storage DETACH OP"
        },
        "blockStorageInstanceStatusName": "detaching",
        "createDate": "2026-05-14T20:18:21+0900",
        "blockStorageDescription": "Test block storage",
        "blockStorageDiskType": {
          "code": "NET",
          "codeName": "Network storage"
        },
        "blockStorageDiskDetailType": {
          "code": "SSD",
          "codeName": "SSD"
        },
        "maxIopsThroughput": 4000,
        "isEncryptedVolume": false,
        "zoneCode": "KR-1",
        "regionCode": "KR",
        "isReturnProtection": false,
        "blockStorageVolumeType": {
          "code": "SSD",
          "codeName": "SSD"
        },
        "hypervisorType": {
          "code": "XEN",
          "codeName": "XEN"
        }
      }
    ],
    "requestId": "f1a2b3c4-d5e6-7890-fabc-456789012345",
    "returnCode": "0",
    "returnMessage": "success"
  }
}