pool.detach

Detach a disk from pool of id id.

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.

Must be one of:
  • true
Specific value: true


Required roles: POOL_WRITE