--- title: "detachBlockStorageInstances" slug: "cli-server-detachblockstorageinstances" updated: 2026-09-17T09:16:00Z published: 2026-09-17T09:16:00Z canonical: "cli.ncloud-docs.com/cli-server-detachblockstorageinstances" --- > ## 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 ## 개요 블록 스토리지 인스턴스 할당 해제 ## 설명 블록 스토리지 인스턴스 리스트를 서버 인스턴스에서 할당 해제합니다. ## 요청 파라미터 | 파라미터 명 | 필수 여부 | 타입 | 제약사항 | 설명 | | --- | --- | --- | --- | --- | | blockStorageInstanceNoList | Yes | List | | - 블록 스토리지 인스턴스 번호 리스트 서버 인스턴스에서 할당 해제할 블록 스토리지 인스턴스 번호 결정 blockStorageInstanceNo는 getBlockStorageInstanceList 액션을 통해서 획득 가능 ex) --blockStorageInstanceNoList 1234 --blockStorageInstanceNoList 2345 | ## 응답 데이터 타입 - BlockStorageInstanceList 타입 | BlockStorageInstanceList extends CommonResponse | | --- | | private Integer totalRows; | | private List blockStorageInstanceList = new ArrayList(); | | BlockStorageInstance | | --- | | private String blockStorageInstanceNo; | | private String serverInstanceNo; | | private String serverName; | | private CommonCode blockStorageType; | | private String blockStorageName; | | private Long blockStorageSize; | | private String deviceName; | | private String blockStorageProductCode; | | private CommonCode blockStorageInstanceStatus; | | private CommonCode blockStorageInstanceOperation; | | private String blockStorageInstanceStatusName; | | private Date createDate; | | private String blockStorageInstanceDescription; | | private CommonCode diskType; | | private CommonCode diskDetailType; | | private Integer maxIopsThroughput; | | private Region region; | | private Zone zone; | ## 예시 ### 호출 ``` ncloud server detachBlockStorageInstances --blockStorageInstanceNoList ***1004 ``` ### 응답 ``` { "detachBlockStorageInstancesResponse": { "requestId": "c8172d4a-5486-4d34-9331-dfec6a747abf", "returnCode": "0", "returnMessage": "success", "totalRows": 1, "blockStorageInstanceList": [ { "blockStorageInstanceNo": "***1004", "serverInstanceNo": "***1003", "serverName": "test-***", "blockStorageType": { "code": "SVRBS", "codeName": "Server BS" }, "blockStorageName": "test-***", "blockStorageSize": 53687091200, "deviceName": "/dev/xvdb", "blockStorageProductCode": "SPBSTBSTAD000006", "blockStorageInstanceStatus": { "code": "ATTAC", "codeName": "Block storage ATTACHED state" }, "blockStorageInstanceOperation": { "code": "DETAC", "codeName": "Block Storage RESTART OP" }, "blockStorageInstanceStatusName": "detaching", "createDate": "2018-10-22T16:19:51+0900", "blockStorageInstanceDescription": "", "diskType": { "code": "NET", "codeName": "Network Storage" }, "diskDetailType": { "code": "SSD", "codeName": "SSD" }, "maxIopsThroughput": 4000, "region": { "regionNo": "1", "regionCode": "KR", "regionName": "Korea" }, "zone": { "zoneNo": "3", "zoneName": "KR-2", "zoneCode": "KR-2", "zoneDescription": "평촌 zone", "regionNo": "1" } } ] } } ``` ``` c8172d4a-5486-4d34-9331-dfec6a747abf 0 success 1 ***1004 ***1003 test-*** SVRBS Server BS test-*** 53687091200 /dev/xvdb SPBSTBSTAD000006 ATTAC Block storage ATTACHED state DETAC Block Storage RESTART OP detaching 2018-10-22T16:19:51+0900 NET Network Storage SSD SSD 4000 1 KR Korea 3 KR-2 KR-2 평촌 zone 1 ```