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": -66756490.463681884,
        "y": 29339514.084251
      },
      "workflow_end": {
        "name": "workflow_end",
        "summary": "workflow_end",
        "groups": [],
        "x": 18098714.823551625,
        "y": -12654036.714400306
      },
      "error_handler": {
        "name": "childJob",
        "summary": "id magna in sint velit",
        "description": "veniam consequat nostrud eu voluptate",
        "app": "enim Excepteur reprehenderit eiusmod",
        "variables": {
          "error": "",
          "decorators": [
            {
              "type": "encryption",
              "pointer": "/h4TUa+AXquv/I-I/zE"
            },
            {
              "type": "encryption",
              "pointer": "/HXVmid/jlU/l+/~0/wtpafIQ/~1"
            },
            {
              "type": "encryption",
              "pointer": "/r9z9L/lu/~0/~1/~1/~0/kPol"
            }
          ]
        },
        "groups": [
          "c81016452d38ff946da65d3c",
          "97df4e91fb30a49d1dbf8e4c",
          "8cc4483e43c7d605ac784f57",
          "bbfd4d9f7f359bc684b49f54",
          "321f8fd07c6aa4152d45457b"
        ],
        "type": "operation",
        "deprecated": true,
        "scheduled": true
      }
    },
    "transitions": {},
    "groups": [
      "ea7dbbd61b29b26796548f5d"
    ],
    "_id": "e67bbcf3-0e3b-0973-2cdc-8ee2f98a1e98",
    "description": "dolor velit non adipisicing",
    "errorHandler": null,
    "font_size": 12,
    "created": "1990-09-19T23:17:31.341Z",
    "created_by": "5a274dd4f45716ad91a1b555",
    "createdVersion": "esse id labore",
    "last_updated": "1980-02-01T03:42:12.77Z",
    "last_updated_by": "2ad6e2aa01a5b702c14c8102",
    "lastUpdatedVersion": "consectetur mollit cillum dolore",
    "tags": [],
    "canvasVersion": 2,
    "decorators": [
      {
        "type": "encryption",
        "pointer": "/~0/Pk7lnm/vTo+JF6Qy/PB0R/~0/~1/~1/~0"
      },
      {
        "type": "encryption",
        "pointer": "/~1/~1/~1"
      }
    ]
  },
  "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": -97473401.69992107,
      "y": -44612781.74075782
    },
    "workflow_end": {
      "name": "workflow_end",
      "summary": "workflow_end",
      "groups": [],
      "x": 68273154.93397522,
      "y": 90091477.35836577
    },
    "error_handler": {
      "name": "childJob",
      "summary": "in enim reprehenderit",
      "description": "veniam officia",
      "app": "sit dolore nulla irure",
      "variables": {
        "error": "",
        "decorators": [
          {
            "type": "encryption",
            "pointer": "/~0/z2BIMpahoGl/~1/~0/yxBb9PBhjkg/~1/~0/~1"
          },
          {
            "type": "encryption",
            "pointer": "/FOW2/~1"
          }
        ]
      },
      "groups": [
        "c6b1b311966adc57096ca547",
        "7a9da502934619a344c9317c",
        "2efb6aa29ee8ccc545c38c40",
        "5e563dcfbe69570f4ea183f5"
      ],
      "type": "operation",
      "deprecated": false,
      "scheduled": true
    }
  },
  "transitions": {},
  "groups": [
    "06ed2d287e50f81a5dabab5f"
  ],
  "_id": "82768a02-8ee7-28dc-173a-59d6e2521c4b",
  "description": "velit",
  "errorHandler": {
    "type": "qui eiusmod exercitation",
    "name": "ex irure incididunt exercitation"
  },
  "font_size": 12,
  "created": "1978-05-01T23:18:15.542Z",
  "created_by": "e042d10efde8d333e3578e71",
  "createdVersion": "amet dolor nostrud ut veniam",
  "last_updated": "1993-05-03T22:00:11.004Z",
  "last_updated_by": "d76564633d9806f8608a5f2a",
  "lastUpdatedVersion": "id sed reprehenderit eu velit",
  "tags": [],
  "canvasVersion": 2,
  "decorators": [
    {
      "type": "encryption",
      "pointer": "/~0/TosS/G72Z/Ry"
    }
  ]
}