1ctl volumes detach
Detach a volume from its deployment while preserving the PVC for later use.
1ctl volumes detach <volume-name-or-id>Arguments
Section titled “Arguments”| Argument | Required | Variadic |
|---|---|---|
volume-name-or-id |
Yes | No |
| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
--id |
string | No | — | Volume ID (explicit, for scripting) |
--app |
string | No | — | App name for volume name resolution |
--yes, -y |
boolean | No | false |
Skip confirmation prompt |
--help, -h |
boolean | No | — | Show help |
Examples
Section titled “Examples”# Detach a volume1ctl volumes detach my-volume
# Detach with explicit ID1ctl volumes detach vol_abc123 --id vol_abc123 --yes