# truenas.set_production

Sets system production state and optionally sends initial debug.

This method is a job.

Type: object

##

Type: array
No Additional Items

#### Tuple Validation

##### Parameter 1: production

#### production

Type: boolean

##### Parameter 2: attach_debug

#### attach_debug

Type: boolean Default: false

##

#### Result

## Any of

Type: object
Type: null

Required roles: FULL_ADMIN