> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mobway.cloud/llms.txt
> Use this file to discover all available pages before exploring further.

# Doors

> Commands related to the vehicle doors.

### lock\_door

Lock doors

* Description: locks the doors when the vehicle's safety preconditions are met (see below).
* Preconditions:
  * The vehicle must not be moving.
* Example:

```json theme={null}
{
  "id": "8619b2df-1d68-40e1-8760-cf36f06d00b5",
  "vin": "6AHFT68CKAF501652",
  "command": "lock_door",
  "status": "Success",
  "detail": {
    "date_time": "2023-02-14 09:52:48"
  },
  "updated": "2023-02-14 09:53:48"
}
```

### unlock\_door

Unlock doors

* Description: unlocks the doors when the vehicle's safety preconditions are met (see below).
* Preconditions:
  * The vehicle must not be moving.
* Example:

```json theme={null}
{
  "id": "8619b2df-1d68-40e1-8760-cf36f06d00b5",
  "vin": "6AHFT68CKAF501652",
  "command": "unlock_door",
  "status": "Success",
  "detail": {
    "date_time": "2023-02-14 09:52:48"
  },
  "updated": "2023-02-14 09:53:48"
}
```
