update_flow
Change an existing Nextcloud Flow rule's editable fields, such as name, checks, events, entity, or operation settings; global flows require destructive permission.
Instructions
Change a Nextcloud Flow rule. Only the fields you pass change; the operation class cannot.
Global flows need the destructive permission level.
Args: flow_id: The flow's ID, from list_flows. scope: The scope the flow is in: "user" (default) or "global". name: New name. checks: New complete list of checks (replaces the old ones), each with "class", "operator" and "value"; at least one. operation_config: New operation settings, an object or a JSON string (see create_flow). entity: New entity class. events: New complete list of triggering events.
Returns: JSON with the updated flow, as list_flows shows it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| scope | No | user | |
| checks | No | ||
| entity | No | ||
| events | No | ||
| flow_id | Yes | ||
| operation_config | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |