Update a Node-RED flow (tab)
nodered_update_flowReplace a single Node-RED flow and its nodes by id while leaving other tabs untouched. Read it first, edit, then send the full flow object back. Requires write access enabled.
Instructions
Replace a single Node-RED flow (one tab) and its nodes by id, leaving other tabs untouched. Read it first with nodered_get_flow, edit, then send the whole flow object back. Requires HA_ALLOW_WRITE=true and HA_ALLOW_CONFIG_WRITE=true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Flow (tab) id to update. | |
| flow | Yes | Full flow object for this tab: { id, label, nodes: [...], configs?: [...] }. | |
| instance_id | No | Optional: the instance you mean (as listed by vomehome_list_instances). When given, the call is refused if this session is targeting a different home, instead of answering from it. |