---
title: "Set Site Live View Only"
method: PUT
path: "/sites/{site_id}/live-view-only"
tags: ["sites"]
---

# Set Site Live View Only

`PUT /sites/{site_id}/live-view-only`

## Request

- Base URL: `https://api.verdun.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.verdun.ai/sites/{site_id}/live-view-only`
- Auth: HTTP bearer

## Path parameters

- `site_id` string, required

## Request body

- UpdateSiteLiveViewOnlyRequest: PUT /sites/{id}/live-view-only (0177). Ops-lead only. On: every camera at the site is connected for Live View and nothing else (monitoring state "off" at every instant, beating the schedule, a text-to-disarm and a test arm). Each camera's own flag is untouched, so turning the site back off restores exactly the cameras that were not Live View only on their own.
  - `live_view_only` boolean, required: true = every camera at this site is Live View only (no AI, no alarms); false = cameras follow their schedules again (except cameras that are Live View only on their own).

## Response `200`

Successful Response

- SetSiteLiveViewOnlyResponse
  - `site_id` string, uuid, required: The site that was updated.
  - `site_name` string, required: The site's name.
  - `live_view_only` boolean, required: The site's Live View only flag after this request.
  - `camera_count` integer, required: Live cameras at the site, all of which the site flag covers.
  - `changed` boolean, required: False when the site already had this value (nothing was written).

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/verdun/apis/verdun-api.md) - [All operations](https://skmtc.dev/verdun/apis/verdun-api/llms.txt) - [OpenAPI document](https://skmtc.dev/verdun/apis/verdun-api/revisions/35a2a6ebedda?raw)
