pool.detach =========== Detach a disk from pool of id `id`. .. examples(websocket):: Detach ZFS device. :::javascript { "id": "6841f242-840a-11e6-a437-00e04d680384", "msg": "method", "method": "pool.detach, "params": [1, { "label": "80802394992848654" }] } .. raw:: html
Type: object

Type: array
No Additional Items

Tuple Validation

Parameter 1: id

id

Type: integer

ID of the pool to detach a disk from.

Parameter 2: options

options

Type: object

Configuration for the disk detachment operation.

No Additional Properties

Label

Type: string

GUID or device name of the vdev to detach.

Wipe

Type: boolean Default: false

Whether to wipe the detached disk after removal.

Result

Type: const

Indicates successful disk detachment.

Specific value: true


*Required roles:* POOL_WRITE