update_viewer
Update Protect viewer settings, such as liveview assignment, on a UniFi console. Provide the host, viewer ID, and key-value settings to apply changes.
Instructions
Update settings for a Protect viewer (liveview assignment, etc.).
host: console name, ID, or composite ID (MAC:numericId format).
settings: key-value pairs of viewer settings to update.
viewer_id: REQUIRED. Obtain it from list_viewers (its id field).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | ||
| settings | Yes | ||
| viewer_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||