---
title: "Update Workflow"
method: PUT
path: "/api/mcp/v1/workflows/{hash}"
tags: ["Workflows"]
---

# Update Workflow

`PUT /api/mcp/v1/workflows/{hash}`

## Request

- Base URL: `https://flowdot.ai/api`
- URL: `https://flowdot.ai/api/api/mcp/v1/workflows/{hash}`
- Auth: HTTP bearer

Update an existing workflow.

## Path parameters

- `hash` string, required

## Request body

- object
  - `name` string: Workflow name
  - `graph` object: Workflow graph structure
  - `description` string: Workflow description

## Response `200`

Successful response

- unknown

## Other responses

- `401`: Unauthenticated
- `403`: Not authorized to update this workflow
- `404`: Workflow not found
- `422`: Validation error

---

[API](https://skmtc.dev/flowdot/apis/flowdot-api.md) · [All operations](https://skmtc.dev/flowdot/apis/flowdot-api/llms.txt) · [OpenAPI document](https://skmtc.dev/flowdot/apis/flowdot-api/revisions/93f63cc9c775?raw)
