--- title: "setBlockStorageReturnProtection" slug: "cli-vserver-storage-setblockstoragereturnprotection" tags: ["Block Storage", "VPC", "Server"] updated: 2026-09-17T10:08:35Z published: 2026-09-17T10:08:35Z canonical: "cli.ncloud-docs.com/cli-vserver-storage-setblockstoragereturnprotection" --- > ## 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. # setBlockStorageReturnProtection Available in VPC Set the termination protection status for a block storage instance. ## Syntax The `setBlockStorageReturnProtection` syntax is as follows: ``` ./ncloud vserver setBlockStorageReturnProtection \ --blockStorageInstanceNo \ --isReturnProtection \ [--regionCode ] \ [--output ] ``` ## Options This section describes the options available when running `setBlockStorageReturnProtection`. ### Required options The following options are required for `setBlockStorageReturnProtection`. | Options | Type | Required | Description | | --- | --- | --- | --- | | `--blockStorageInstanceNo` | String | Required | Block storage instance number - See [getBlockStorageInstanceList](/docs/en/cli-vserver-storage-getblockstorageinstancelist). | | `--isReturnProtection` | Boolean | Required | Termination protection status - `true` \| `false` - `true`: Protected - `false`: Not protected | ### Common options For information about the options common to all `vserver` subcommands, see [Server (VPC) options](/docs/en/cli-vserver#%EC%98%B5%EC%85%98). ## Examples If the request to set up termination protection is successful, the latest information about the block storage is returned. ### Command The command example is as follows: ``` ./ncloud vserver setBlockStorageReturnProtection \ --blockStorageInstanceNo 89012345 \ --isReturnProtection true \ --regionCode KR \ --output json ``` ### Output The output example is as follows: ``` { "setBlockStorageReturnProtectionResponse": { "totalRows": 1, "blockStorageInstanceList": [ { "blockStorageInstanceNo": "89012345", "blockStorageName": "test-block-storage-01", "blockStorageType": { "code": "SVRBS", "codeName": "Server BS" }, "blockStorageSize": 75161927680, "blockStorageProductCode": "SPBSTBSTAD000006", "blockStorageInstanceStatus": { "code": "CREAT", "codeName": "Block storage CREATED status" }, "blockStorageInstanceOperation": { "code": "NULL", "codeName": "Block storage NULL OP" }, "blockStorageInstanceStatusName": "detached", "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": true, "blockStorageVolumeType": { "code": "SSD", "codeName": "SSD" }, "hypervisorType": { "code": "XEN", "codeName": "XEN" } } ], "requestId": "c4d5e6f7-a8b9-0123-defa-789012345678", "returnCode": "0", "returnMessage": "success" } } ```