# disk.wipe

Performs a wipe of a disk dev.

This method is a job.

Type: object

##

Type: array
No Additional Items

#### Tuple Validation

##### Parameter 1: dev

#### dev

Type: string

The device to perform the disk wipe operation on. May be passed as /dev/sda or just sda.

Must be at least `1` characters long

##### Parameter 2: mode

#### mode

Type: enum (of string)

- QUICK: Write zeros to the first and last 32MB of device.
- FULL: Write whole disk with zeros.
- FULL_RANDOM: Write whole disk with random bytes.

##### Must be one of:

- "QUICK"
- "FULL"
- "FULL_RANDOM"

##### Parameter 3: synccache

#### synccache

Type: boolean Default: true

Synchronize the device with the database.

##

#### Result

Type: null

Returns `null` when the disk wipe operation is successfully started.

Required roles: DISK_WRITE