Summary
Rename Workflow
Description
Rename a Workflow in the database
Route
POST /workflow_builder/workflows/rename
Roles
admin
engineering
support
Parameters
DetailsExampleSchema
Name |
Type |
Required |
Description |
workflow |
object |
yes |
Workflow's data. |
newName |
string |
yes |
New name for workflow |
Copied to Clipboard
{
"workflow": {
"name": "My Workflow",
"type": "automation",
"tasks": {
"workflow_start": {
"name": "workflow_start",
"summary": "workflow_start",
"groups": [],
"x": -20911224.053821757,
"y": -35365678.19138181
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [],
"x": 34487718.23324776,
"y": 48414844.95564696
}
},
"transitions": {},
"groups": [
"688ffccb8dfa41fb280f6ed3"
],
"_id": "71040477-e95e-bf63-de9a-070875951593",
"description": "irure elit cupidatat",
"font_size": 12,
"created": "1995-07-10T21:07:58.706Z",
"created_by": "32d910f7d68b01a2b9b24acc",
"createdVersion": "dolor eiusmod",
"last_updated": "1960-02-20T23:24:09.232Z",
"last_updated_by": "f70a30030165add5de6d79ae",
"lastUpdatedVersion": "Duis est dolor irure et",
"tags": []
},
"newName": "New Workflow Name"
}
Return
DetailsExampleSchema
Name |
Type |
Description |
data |
object |
The renamed Workflow with its data and ID. |
Copied to Clipboard
{
"name": "My Workflow",
"type": "automation",
"tasks": {
"workflow_start": {
"name": "workflow_start",
"summary": "workflow_start",
"groups": [],
"x": 4505551.613769621,
"y": -50923592.451286435
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [],
"x": 70141524.93608147,
"y": 59241300.731803834
}
},
"transitions": {},
"groups": [
"29a5b51d7c02a49fcc04edc9",
"15003677cd1c51f2a1b54bdc",
"51f37078a4372b83896e5887"
],
"_id": "b6c0c31b-088a-4811-97b1-9f4ac0886a22",
"description": "mollit dolor eu incididunt Duis",
"font_size": 12,
"created": "2000-12-31T17:53:36.38Z",
"created_by": "4585ea288d82cdd00b872867",
"createdVersion": "incididunt adipisicing cillum",
"last_updated": "1979-11-07T20:07:17.277Z",
"last_updated_by": "902d03eaccd91b5e093e04b2",
"lastUpdatedVersion": "sed in",
"tags": []
}