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": 82838496.88639915,
"y": 34963627.362483054
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [],
"x": -31659121.66108656,
"y": 38803758.00111401
}
},
"transitions": {},
"groups": [
"5493c407bf0915537742b93f",
"0e4793de57a3f7b4592a480a",
"527c565d2f168661392211b4",
"c919fd5058f9c6293cb37e5b"
],
"_id": "11f6e8dc-4fa8-d1ef-8143-b6a2e1de7639",
"description": "veniam ad nulla incididunt",
"font_size": 12,
"created": "1961-11-24T11:02:23.056Z",
"created_by": "0ea55099dcec83ba332285fb",
"createdVersion": "nisi id in",
"last_updated": "1961-09-04T11:21:55.531Z",
"last_updated_by": "97a7b150c054733ea4a3fe63",
"lastUpdatedVersion": "tempor dolore consequat",
"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": -66321833.5160562,
"y": 1644869.9207559824
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [],
"x": 47846194.857344925,
"y": -29850860.95636964
}
},
"transitions": {},
"groups": [
"dfcc71c1174cbb1860d2608d",
"d05bfc008f70695f8ed5d015",
"3870cf323897a21edbb55d33",
"71fedf403c347cdca9c81644",
"d06d794d6df39e6d55dc2d29"
],
"_id": "687c41ce-6bce-52e2-899b-2129ac0f1b81",
"description": null,
"font_size": 12,
"created": "2010-11-30T06:49:33.998Z",
"created_by": "df22b9f154b67f29f14e3cf6",
"createdVersion": "ullamco pariatur ut ut tempor",
"last_updated": "1965-09-28T19:26:51.484Z",
"last_updated_by": "00a5091b72687d747dae14b9",
"lastUpdatedVersion": "sunt irure velit non",
"tags": []
}