flows
Bulk update a number of existing flows
Each object in the body must contain an id property to match it to the flow to be updated. Requires the 'flows.write' permission.
patch/flows/bulk
Request body
Example request
[
{
"name": "SnazzyToCodeComponent",
"description": "This flow polls for persons and posts them on webhoo.site.",
"graph": {
"edges": [
{
"source": "step_1",
"target": "step_2"
}
]
},
"type": "ordinary",
"cron": "* /2 * * * *"
}
]Response
The updated Flow.
Example response
{
"data": [
{
"name": "SnazzyToCodeComponent",
"description": "This flow polls for persons and posts them on webhoo.site.",
"graph": {
"edges": [
{
"source": "step_1",
"target": "step_2"
}
]
},
"type": "ordinary",
"cron": "* /2 * * * *",
"status": "inactive",
"createdAt": "2019-07-30T12:52:45.957Z",
"updatedAt": "2019-07-30T12:52:45.957Z"
}
]
}