Vultr DocsLatest Content


Detach

Updated on 15 September, 2025

Disconnects a Block Storage volume from a virtual machine while preserving all data stored on the volume.


The vultr-cli block-storage detach command disconnects a Block Storage volume from a virtual machine, making the storage unavailable to that instance while preserving all data.

Usage

console
$ vultr-cli block-storage detach <Block Storage ID> [flags]

Examples

console
#Full example
$ vultr-cli block-storage detach 67181686-5455-4ebb-81eb-7299f3506e2c
#Shortened with aliased commands
$ vultr-cli bs detach 67181686-5455-4ebb-81eb-7299f3506e2c

Flags

Shorthand Long Version Description
- --live detach block storage without a restarting instance

Comments

No comments yet.