nvr_remove_channel
Unbind one channel from a VIGI NVR, refusing connected cameras unless forced and requiring confirmation and a matching UUID for destructive changes.
Instructions
Unbind one channel (chm_del_dev). DESTRUCTIVE. Requires VIGI_NVR_ALLOW_WRITES=true, confirm_write=true and expected_uuid equal to the live row's uuid. Refuses a row whose live online=="1" (a connected camera) unless force=true. Honours VIGI_NVR_DRY_RUN. Run nvr_backup_config first. Returns before/after rows.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | ||
| channel_id | Yes | ||
| confirm_write | No | Must be the JSON boolean true to authorise this mutating write. A string such as "true"/"1"/"yes" does NOT count and the write is refused with no network call; re-send with the boolean confirm_write=true after confirming the change with the operator. | |
| expected_uuid | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||