Updates an existing flow definition, you can just pass the root attributes you wish to update and it wont affect the existing values.
NOTE: For updating steps you need to send the whole object with the changes you want to make because that will get overwritten.
The flow definition id or name
Information about the flow to be updated
Contains the flow definition
The flow name, it must follow the following regexp:
^[a-zA-Z_$][a-zA-Z_$0-9]*$
A brief description of what this flow is about
Contains information about the target endpoint that will be acting as a webhook
Key-Value pair object that contains the steps that will consist on this workflow, the object Key must follow the following regexp: ^[a-zA-Z_$][a-zA-Z_$0-9]*$
NOTE: If you want to define a step with no additional configuration you can just define the step name with a null value. Example:
"steps": {
"step_with_no_attributes": null
}The flow detail
A simple response representation Successful response after creating or retrieving a flow definition
The response status returned from the server, it can be:
success, error The response exit code returned from the server, it can be:
success, validation_error, unauthorized, generic_error, service_unavailable, resource_not_found, step_already_executed, flow_disabled, service_plan_max_registered_flows_reached, service_plan_max_steps_per_flow_reached Schema that represents any serializable data Contains the flow definition