pool.detach =========== Detach a disk from pool of id ``id``. Example:: { "jsonrpc": "2.0", "id": 1, "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