---
title: "Update camera guest"
method: PUT
path: "/cameras/{camera_id}/guests/{guest_id}/"
tags: ["camera-guest"]
deprecated: true
---

# Update camera guest

`PUT /cameras/{camera_id}/guests/{guest_id}/`

## Request

- Base URL: `https://api.angelcam.com/v1`
- URL: `https://api.angelcam.com/v1/cameras/{camera_id}/guests/{guest_id}/`
- Auth: one of:
  - OAuth 2
    - Authorization code: `https://my.angelcam.com/oauth/authorize/`, token URL `https://my.angelcam.com/oauth/token/`
    - Password, token URL `https://api.angelcam.com/oauth/token/`
    - Scopes: `camera_guest_manage`
  - API key in header `Authorization`
- TypeScript: <https://skmtc.dev/angelcam/apis/angelcam-api/docs/cameras/:camera_id/guests/:guest_id/put.ts> (a function with typed inputs; its response is checked against the schema)

> **Deprecated.**

## Path parameters

- `camera_id` integer, required
- `guest_id` integer, required

## Request body

- object
  - `permissions` CameraGuestPermissionObject
    - `can_view_rec` boolean: The guest can view camera recordings.
    - `can_create_clips` boolean: The guest can create clips and view clips created by themselves. This option also implies `can_view_rec`.
    - `can_view_all_clips` boolean: The guest can view clips created by any user.
    - `share_notifications` boolean: Share RTS notifications for a given camera.

## Response `200`

OK

- CameraGuestObject
  - `id` integer: Guest id
  - `first_name` string, nullable: Guest's first or given name.
  - `last_name` string, nullable: Guest's last or family name.
  - `email` string, email, required: Guest's email.
  - `permissions` CameraGuestPermissionObject, required
    - `can_view_rec` boolean: The guest can view camera recordings.
    - `can_create_clips` boolean: The guest can create clips and view clips created by themselves. This option also implies `can_view_rec`.
    - `can_view_all_clips` boolean: The guest can view clips created by any user.
    - `share_notifications` boolean: Share RTS notifications for a given camera.

## Other responses

- `401`: Missing or invalid authorization.
- `404`: The specified resource was not found

---

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