---
title: "Update legacy workflow"
method: PATCH
path: "/legacy-workflows/{legacy_workflow_id}"
tags: ["legacyWorkflows"]
---

# Update legacy workflow

`PATCH /legacy-workflows/{legacy_workflow_id}`

## Request

- Base URL: `https://{tenant_name}.benchling.com/api/v2`
- URL: `https://{tenant_name}.benchling.com/api/v2/legacy-workflows/{legacy_workflow_id}`
- Auth: HTTP bearer

Update workflow metadata

## Path parameters

- `legacy_workflow_id` string, required

## Request body

- LegacyWorkflowPatch
  - `description` string: Description of the legacy workflow
  - `name` string: Name of the legacy workflow
  - `projectId` string: ID of the project that contains the legacy workflow

## Response `200`

OK

- LegacyWorkflow
  - `createdAt` string, date-time: DateTime at which the the legacy workflow was created
  - `description` string, nullable: Description of the legacy workflow
  - `displayId` string: User-friendly ID of the legacy workflow
  - `id` string: ID of the legacy workflow
  - `name` string: Name of the legacy workflow
  - `projectId` string: ID of the project that contains the legacy workflow

---

[API](https://skmtc.dev/benchling/apis/benchling-api-2.md) - [All operations](https://skmtc.dev/benchling/apis/benchling-api-2/llms.txt) - [OpenAPI document](https://skmtc.dev/benchling/apis/benchling-api-2/revisions/01d2fa8523cd?raw)
