Update
Update Flow by ID
PATCH
https://biometridon.polygon.pt/api/flows/:id
This endpoint allows you to update a flow by id.
Path Parameters
Name
Type
Description
id
string
ID of the flow to get
Headers
Name
Type
Description
Content-Type
string
application/json
Authorization
string
Authentication user token
Request Body
Name
Type
Description
childFlowId
string
required if stepsOrdered have step type multiusers
name
string
Unique name
stepsOrdered
array
List of step ids
settingsId
string
Flow settings id
clientId
string
Client id (Master User)
forAllClients
boolean
Availability (Master User)
{
"data": {
"name": "flow 1",
"stepsOrdered": [
"5f06dd39a89fd30bd4671862"
],
"settingsId": "5f06dd3c198040265c1fc732",
"clientId": "5f06dd360d2a954da80c098f",
"active": true,
"created_at": "2020-07-10T10:51:20.599Z",
"updated_at": "2020-07-10T10:51:20.599Z",
"id": "5f084828ed1bb82d64ee7b44"
},
"meta": {
"message": "Flow updated with success."
},
"status": true
}
POST
https://biometridon.polygon.pt/api/flows
Request Body
Name
Type
Description
childFlowId
string
// Example
{
"name": "flow 1",
"stepsOrdered": [
"5f06dd39a89fd30bd4671862"
],
"settingsId": "5f06dd3c198040265c1fc732",
"clientId": "5f06dd360d2a954da80c098f",
"forAllClients": true
}
Last updated
Was this helpful?