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": 87979965.16782951,
"y": -66365934.61314191
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [],
"x": -97877676.73173456,
"y": 20359040.160365984
}
},
"transitions": {},
"groups": [
"8366c0285fcf04d730ff6667",
"f9bf05db1f9c2247591bb6c6",
"baaf38a3ec45656c33302dd2"
],
"_id": "c2274054-608c-811e-3cee-9fe57946f3a4",
"description": null,
"font_size": 12,
"created": "1985-08-20T01:43:44.678Z",
"created_by": "c4445880c8128d4d96a4af0f",
"createdVersion": "sit in quis ex officia",
"last_updated": "1954-02-05T10:07:28.191Z",
"last_updated_by": "fe3483db342914b3d57d7590",
"lastUpdatedVersion": "culpa in sunt non eiusmod",
"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": 58213406.88129735,
"y": -88657910.25072864
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [],
"x": -18914562.345743895,
"y": -3904144.980300784
}
},
"transitions": {},
"groups": [
"f2e1e099b81a0e7bde68c3ef"
],
"_id": "61b03848-da5a-00cf-0ff7-5918d8578c37",
"description": null,
"font_size": 12,
"created": "1968-11-28T23:42:13.836Z",
"created_by": "a9377871c65d167a8dea881f",
"createdVersion": "non",
"last_updated": "2011-05-15T08:00:49.088Z",
"last_updated_by": "2554fb54e64c14aabaa03235",
"lastUpdatedVersion": "velit sint minim dolor",
"tags": []
}