update_camera
Change a UniFi Protect camera's settings, such as name, recording mode, and recording enabled state. Updates apply immediately and persist on the Protect console.
Instructions
Update a camera's configuration.
Mutating operation: changes are applied immediately and persisted on the Protect console. Requires username/password configured for the device.
Args: camera: Camera ID or name (resolved by name if not an ID) name: New camera name is_recording_enabled: Enable/disable recording recording_mode: Recording mode — "always", "motion", "smart_detect", "never" device: Optional Protect console name to target a specific UniFi Protect device; omit for first configured Protect device.
Returns: Updated camera configuration
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New camera name. | |
| camera | Yes | Protect camera identifier or name to update. | |
| device | No | Optional Protect console name to target a specific UniFi Protect device; omit to use the first Protect-enabled device. | |
| recording_mode | No | Recording mode — "always", "motion", "smart_detect", "never". | |
| is_recording_enabled | No | Enable/disable recording. |