Detach volume
volume_detachDetach a Longhorn volume from its host. Use force detach only when explicitly authorized, as it may cause data corruption if writes are in progress.
Instructions
Detach a volume. forceDetach: true risks data corruption if the volume is mid-write. Destructive. Do not call this unless the user has explicitly authorized it in this conversation — never proactively, speculatively, or as a side effect of another task. Longhorn docs: https://longhorn.io/docs/1.12.1/nodes-and-volumes/volumes/create-volumes/
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| hostId | No | ||
| forceDetach | No | ||
| attachmentID | No |