> For the complete documentation index, see [llms.txt](https://tesla-api.timdorr.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tesla-api.timdorr.com/vehicle/commands/doors.md).

# Doors

## POST `/api/1/vehicles/{id}/command/door_unlock`

Unlocks the doors to the car. Extends the handles on the S.

### Response

```json
{
  "reason": "",
  "result": true
}
```

## POST `/api/1/vehicles/{id}/command/door_lock`

Locks the doors to the car. Retracts the handles on the S, if they are extended.

### Response

```json
{
  "reason": "",
  "result": true
}
```
