---
title: "Update a cloud workflow"
method: PATCH
path: "/api/workflows/{workflow_id}"
tags: ["workflows"]
---

# Update a cloud workflow

`PATCH /api/workflows/{workflow_id}`

[cloud-only] Updates the metadata (name, description) of an existing cloud workflow.

## Path parameters

- `workflow_id` string, uuid, required

## Request body

- object
  - `name` string
  - `description` string

## Response `200`

Workflow updated

- CloudWorkflow — [cloud-only] A cloud-managed workflow with version history.
  - `id` string, uuid, required
  - `name` string, required
  - `description` string
  - `share_id` string, nullable — Public share identifier if published
  - `latest_version_id` string, uuid, nullable
  - `thumbnail_url` string, uri, nullable
  - `created_at` string, date-time
  - `updated_at` string, date-time

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `404` — Not found
- `422` — Validation error
- `500` — Internal server error

## Changes

- **2026-05-22** `09a5075587c8` — 3 info
  - api operation id `updateCloudWorkflow` removed and replaced with `updateWorkflow`
  - added the non-success response with the status `422`
  - added the non-success response with the status `500`
- **2026-05-08** `c9640fded659` — 1 info
  - endpoint added
- **2026-04-24** `a66055fa384e` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/comfy-org/apis/comfyui-api/changes/api/workflows/:workflow_id/patch.md)

---

[API](https://skmtc.dev/comfy-org/apis/comfyui-api.md) · [All operations](https://skmtc.dev/comfy-org/apis/comfyui-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/comfy-org/comfyui-api/revisions/09a5075587c8/schema)
