--- title: "attachBlockStorageInstance" slug: "compute-server-attachblockstorageinstance" tags: ["Server", "Block Storage"] updated: 2026-09-17T10:06:00Z published: 2026-09-17T10:06:00Z canonical: "api.ncloud-docs.com/compute-server-attachblockstorageinstance" --- > ## Documentation Index > Fetch the complete documentation index at: https://api.ncloud-docs.com/llms.txt > Use this file to discover all available pages before exploring further. # attachBlockStorageInstance ## Overview It assigns a block storage instance to the server instance. ## Request ### Request parameters | Parameter name | Required | Type | Restrictions | Description | | --- | --- | --- | --- | --- | | blockStorageInstanceNo | Yes | String | | - Block storage instance number Determine the block storage instance number to be assigned to the server instance. blockStorageInstanceNo can be obtained through the getBlockStorageInstanceList action. | | serverInstanceNo | Yes | String | | - Server instance number Determine the server instance to which the block storage instance will be allocated. serverInstanceNo can be obtained through the getServerInstanceList action. | | responseFormatType | No | String | | - Format type of the response result Options: xml \| json Default: xml | ## Response ### Response body - [BlockStorageInstanceList](/docs/en/common-apidatatype-blockstorageinstancelist) ## Examples ### Request example ``` GET {SERVER_API_URL}/attachBlockStorageInstance ?blockStorageInstanceNo=***1004 &serverInstanceNo=***1003 ``` ### Response example ``` c8172d4a-5486-4d34-9331-dfec6a747abf 0 success 1 ***1004 ***1003 test-*** SVRBS Server BS test-*** 53687091200 SPBSTBSTAD000006 CREAT Block storage CREATED state ATTAC Block Storage STOP OP attaching 2018-10-22T16:19:51+0900 NET Network Storage SSD SSD 4000 1 KR Korea 3 KR-2 KR-2 Pyeongchon zone 1 ```