# enclosure2.set_slot_status

Set enclosure bay number `slot` to `status` for `enclosure_id`.

Type: object

##

Type: array
No Additional Items

#### Tuple Validation

##### Parameter 1: Enclosure2SetSlotStatus

#### Enclosure2SetSlotStatus

Type: object

Enclosure2SetSlotStatusArgs parameters.

No Additional Properties

##

#### Enclosure Id

Type: string

Logical identifier of the enclosure.

##

#### Slot

Type: integer

Number of the drive bay whose status should change.

##

#### Status

Type: enum (of string)

The status to set on the slot.

##### Must be one of:

- "CLEAR"
- "ON"
- "OFF"

##

#### Result

Type: null

Required roles: ENCLOSURE_WRITE