> 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/sentrymode.md).

# Sentry Mode

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

Turns sentry mode on or off.

### Request

This endpoint requires a singular parameter `on`, inside the POST body with the value set to `true` for enabling and `false` for disabling sentry mode.

### Example

```json
{
  "on": "true"
}
```

### Response

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