# system.shutdown

Shuts down the operating system.

An “added” event of name “system” and id “shutdown” is emitted when shutdown is initiated.

This method is a job.

Type: object

##

Type: array
No Additional Items

#### Tuple Validation

##### Parameter 1: reason

#### reason

Type: string

Reason for the system shutdown.

Must be at least `1` characters long

##### Parameter 2: options

#### options

Type: object

Options for controlling the shutdown process.

No Additional Properties

##

#### Delay

Default: null

Delay in seconds before shutting down. `null` for immediate shutdown.

## Any of

Type: integer
Type: null

##

#### Result

Type: null

Returns `null` on successful shutdown initiation.

Required roles: FULL_ADMIN