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": -16362929.141316667,
"y": 75749203.58068162
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [],
"x": 60313806.836990714,
"y": 18769061.861182794
}
},
"transitions": {},
"groups": [
"ed4e3446e6cc025f4c5afea7",
"e792b6fc8092dce8a06a2838"
],
"_id": "46c45439-3f9a-0400-d94c-f844f5ee6b37",
"description": null,
"font_size": 12,
"created": "1994-08-07T20:40:45.777Z",
"created_by": "6b0f485ffc256787acab9451",
"createdVersion": "qui et fugiat",
"last_updated": "1982-11-05T08:42:23.243Z",
"last_updated_by": "4533aa38fe67efd0459932cd",
"lastUpdatedVersion": "sed",
"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": 5700880.469482645,
"y": -39381994.27128559
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [],
"x": 61348816.11549306,
"y": 13394909.315739587
}
},
"transitions": {},
"groups": [
"62380894cc9f4b4c35a23c82",
"0e9e5965cbce13ea59c80c37",
"ed8085197f02f1e0f02cac33",
"83efeda733883d9c6877e83a",
"448e1fb862b2e7e4c2d86b3c"
],
"_id": "2f1ead88-e269-87c2-59b1-9deaf405f23f",
"description": "elit",
"font_size": 12,
"created": "2016-08-29T07:18:33.708Z",
"created_by": "b3c991e2264daf2ca56d1ba6",
"createdVersion": "reprehenderit velit aliqua aute Duis",
"last_updated": "1974-01-26T14:49:55.2Z",
"last_updated_by": "cc395e54e8fb56afb3e8c37f",
"lastUpdatedVersion": "cupidatat consectetur aliqua ullamco est",
"tags": []
}