API reference · Schema
DetachVolumeRequest
Unmount the volume from a pod (reconfigures the pod; its container is recreated). The volume and its data are kept.
pod_idstringrequiredID of the pod
ID with prefix pod_
dry_runbooleanOnly report what would change (nothing is applied)
default false
Example
{
"pod_id": "pod_01jc5zq4m8k3v6x9t2w7r0b1e4",
"dry_run": true
}Used by
- Unmount the volume from a pod (recreates the pod’s container; the data is kept)
POST /v1/volumes/{volume_id}/detach