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": 20595289.899645403,
"y": -60200262.87472007
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [],
"x": 71131341.37325692,
"y": 15624176.626723647
}
},
"transitions": {},
"groups": [
"0abd94ac9d767732a747b7a9",
"edd9d6ee55560f8e112048be",
"cd9bc0f08c6c2689fa690f13"
],
"_id": "d1e9fe4d-4791-0e6d-bf1c-a4bcd0aa26f9",
"description": "eu elit velit",
"font_size": 12,
"created": "1982-08-19T10:11:36.172Z",
"created_by": "8b2beaa50b15abd3948fbaf6",
"createdVersion": "sunt Duis amet",
"last_updated": "1957-11-19T18:36:10.802Z",
"last_updated_by": "2520f9ed36ceb40000163557",
"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": -38038854.57096006,
"y": 56426518.50787574
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [],
"x": 41763367.48670724,
"y": 94980446.5031738
}
},
"transitions": {},
"groups": [
"d473c7dcf011f311aeaca545",
"b3021e544c6066cd444eed00"
],
"_id": "e0442013-95ca-30e2-8659-23507c8b7cfe",
"description": "ut cupidatat",
"font_size": 12,
"created": "1953-09-18T05:37:51.747Z",
"created_by": "01642490770d923d3aacef1c",
"createdVersion": "officia dolore sed aliquip",
"last_updated": "1994-06-22T20:23:32.818Z",
"last_updated_by": "9ffd01daffb18c2897687ad4",
"lastUpdatedVersion": "quis",
"tags": []
}