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": -73303097.03881502,
        "y": 16667758.171618104
      },
      "workflow_end": {
        "name": "workflow_end",
        "summary": "workflow_end",
        "groups": [],
        "x": 2267401.4159572423,
        "y": -23730813.352084562
      }
    },
    "transitions": {},
    "groups": [
      "c4fcdb79e00e23f2945154ec"
    ],
    "_id": "71cc4be1-b241-5e89-48bb-db283ad8d357",
    "description": null,
    "font_size": 12,
    "created": "1945-04-20T04:57:08.014Z",
    "created_by": "811beff2c50d5c95aea87583",
    "createdVersion": "cillum tempor occaecat ipsum",
    "last_updated": "2019-04-10T11:20:42.298Z",
    "last_updated_by": "349376c453c89601f1d7cfaf",
    "lastUpdatedVersion": "labore",
    "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": -36218351.06116475,
      "y": -78190131.81342807
    },
    "workflow_end": {
      "name": "workflow_end",
      "summary": "workflow_end",
      "groups": [],
      "x": -80991757.98398837,
      "y": -29106144.044840395
    }
  },
  "transitions": {},
  "groups": [
    "72825c221b2c744d8c1f232e",
    "2678488b4f1d1e26345a851e"
  ],
  "_id": "b0690ab3-133e-0c8e-0908-fd891bd5f31b",
  "description": null,
  "font_size": 12,
  "created": "1988-03-12T06:45:26.306Z",
  "created_by": "96c539b4c884f9f7eb63983b",
  "createdVersion": "quis nisi incididunt",
  "last_updated": "1987-03-24T19:50:20.324Z",
  "last_updated_by": "2e667d90f44c12d6042bf6ea",
  "lastUpdatedVersion": "laborum Ut in veniam",
  "tags": []
}