update nats trigger
Path parameters
Request body
Path to the NATS resource containing connection configuration
If true, uses NATS JetStream for durable message delivery
JetStream stream name (required when use_jetstream is true)
JetStream consumer name (required when use_jetstream is true)
Array of NATS subjects to subscribe to
The unique Windmill path for this trigger. Must be of the form u/<user>/<path> or f/<folder>/<path>. This is the trigger object path, not the HTTP route path.
Path to the script or flow to execute when a message is received
True if script_path points to a flow, false if it points to a script
Path to a script to run when the triggered job fails. A bare path, without the script/ or flow/ prefix a schedule error handler takes; it cannot be a flow.
The arguments to pass to the script or flow
The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.
When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it.
Response
nats trigger updated