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": -65723007.17986619,
        "y": 55472968.708215475
      },
      "workflow_end": {
        "name": "workflow_end",
        "summary": "workflow_end",
        "groups": [],
        "x": -35824872.114967786,
        "y": -7201361.489862546
      },
      "error_handler": {
        "name": "childJob",
        "summary": "in",
        "description": "enim dolore",
        "app": "anim exercitation",
        "variables": {
          "error": "",
          "decorators": [
            {
              "type": "encryption",
              "pointer": "/~1/nQ/~0/M/~1/Rc.8l0QG5/bm86/xkZ-3b/tC"
            },
            {
              "type": "encryption",
              "pointer": "/~0"
            },
            {
              "type": "encryption",
              "pointer": "/~0"
            },
            {
              "type": "encryption",
              "pointer": "/~0/~1/tHBR/~1/~1/oliP2d/QtQ/~0/K+pfB"
            },
            {
              "type": "encryption",
              "pointer": "/X/~0/~0/bMl2u56azJL/Zn1XrJ2Z/AdFFXikETK/~0/pv/~1/FXZp"
            }
          ]
        },
        "groups": [
          "1b4333290507b4b311265844",
          "da67d00e61683d4b2ec030de"
        ],
        "type": "operation",
        "deprecated": false,
        "scheduled": false
      }
    },
    "transitions": {},
    "groups": [
      "0e4dae39c60ee181183a2d32"
    ],
    "_id": "734594d8-d5c3-0685-740b-7ef1b5526a6b",
    "description": null,
    "errorHandler": null,
    "font_size": 12,
    "created": "1995-09-25T01:16:33.963Z",
    "created_by": "d1f33bbada0078a5a610cc1b",
    "createdVersion": "qui irure",
    "last_updated": "1982-04-03T07:55:50.347Z",
    "last_updated_by": "d7cc708895d4909157da9efd",
    "lastUpdatedVersion": "veniam",
    "tags": [],
    "canvasVersion": 1,
    "decorators": [
      {
        "type": "encryption",
        "pointer": "/~0/n,jGKECssyU/KkY/~0/XHmI"
      },
      {
        "type": "encryption",
        "pointer": "/~0/M/QGa"
      },
      {
        "type": "encryption",
        "pointer": "/~1/mTcxA,-U0"
      },
      {
        "type": "encryption",
        "pointer": "/~1/naF+GoE/~0"
      },
      {
        "type": "encryption",
        "pointer": "/~0"
      }
    ]
  },
  "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": 80534307.94963229,
      "y": -60739850.06820881
    },
    "workflow_end": {
      "name": "workflow_end",
      "summary": "workflow_end",
      "groups": [],
      "x": -31934582.535385743,
      "y": 99354048.15471312
    },
    "error_handler": {
      "name": "childJob",
      "summary": "et sunt",
      "description": "mollit Duis sint",
      "app": "sunt in ex",
      "variables": {
        "error": "",
        "decorators": [
          {
            "type": "encryption",
            "pointer": "/~0/~0/~0/~1/~1/~1/~0/lJmg1m.3,"
          },
          {
            "type": "encryption",
            "pointer": "/JTP87rT5H-/~0/~0/k"
          },
          {
            "type": "encryption",
            "pointer": "/u4JlX/~1"
          },
          {
            "type": "encryption",
            "pointer": "/rkefIjHY3j/~1/L/~0/sXSFS9R.R/X-CJS"
          },
          {
            "type": "encryption",
            "pointer": "/~1/iw0AoflC,/~1/~1/~0/UcJt"
          }
        ]
      },
      "groups": [
        "b4af9b0d89821e11130b3d98",
        "16c19c1268168f0c4f7836ce"
      ],
      "type": "operation",
      "deprecated": true,
      "scheduled": false
    }
  },
  "transitions": {},
  "groups": [
    "994f11eea39f673256d65c20",
    "4ab48b4bf4112933d810a9e6",
    "ad575227fde607c6c895db90"
  ],
  "_id": "7f512c44-e538-4798-18d2-aadee6b9d4fb",
  "description": "proident aute",
  "errorHandler": {
    "type": "proident enim et officia dolor",
    "name": "minim ea qui incididunt"
  },
  "font_size": 12,
  "created": "2012-08-02T22:27:14.297Z",
  "created_by": "23a20eb377790a2d7122739f",
  "createdVersion": "reprehenderit id in est nisi",
  "last_updated": "1985-09-06T18:50:51.093Z",
  "last_updated_by": "cf25154aa7339f8326ffcbb2",
  "lastUpdatedVersion": "velit adipisicing veniam in elit",
  "tags": [],
  "canvasVersion": 1,
  "decorators": [
    {
      "type": "encryption",
      "pointer": "/~0"
    }
  ]
}