---
title: "Edit a camera settings and / or configuration"
method: PATCH
path: "/api/v1/cameras/{id}"
---

# Edit a camera settings and / or configuration

`PATCH /api/v1/cameras/{id}`

## Request body

- CameraConfigSet — Camera configuration to set
  - `name` string — Name of the camera
  - `trigger_scheme` 'EVERY_10_MIN' | 'ON_LAYER_CHANGE' — When the snapshot is taken
  - `resolution` object
    - `width` integer
    - `height` integer
  - `rotation` integer — Current rotation of the output image
  - `exposure` number
  - `send_to_connect` boolean

## Response `200`

OK

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `503` — Service Unavailable

## Changes

- **2022-11-15** `c1e419cc0298` — 3 info
  - added the non-success response with the status `403`
  - added the non-success response with the status `503`
  - removed the non-success response with the status `409`
- **2022-10-13** `6a5c6d42113e` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/prusa3d/apis/prusalink-web/changes/api/v1/cameras/:id/patch.md)

---

[API](https://skmtc.dev/prusa3d/apis/prusalink-web.md) · [All operations](https://skmtc.dev/prusa3d/apis/prusalink-web/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/prusa3d/prusalink-web/revisions/e25bada0148d/schema)
