---
title: "Update a Workflow"
method: PUT
path: "/workflows/{identifier}"
tags: ["workflows"]
---

# Update a Workflow

`PUT /workflows/{identifier}`

## Path parameters

- `identifier` string, required

## Headers

- `x-api-version` string

## Request body

- V1Alpha1WorkflowResourceUpdateRequest
  - `kind` string
  - `metadata` V1Alpha1ResourceMetadata, required
    - `uid` string, uuid
    - `name` string, required
    - `created_at` string, date-time
    - `updated_at` string, date-time
    - `annotations` object
  - `spec` V1Alpha1WorkflowResourceSpec, required
    - `stages` V1Alpha1WorkflowStage[], required
      - `type` string
      - `target` string, required
      - `name` string, required
      - `description` string
      - `version` string
      - `depends_on` string[]
      - `options` object
      - `resources` object
      - `priority` integer

## Response `200`

The updated Workflow

## Other responses

- `403` — Forbidden
- `405` — Method Not Allowed
- `422` — Validation Error

---

[API](https://skmtc.net/emergentmethods/apis/flowdapt.md) · [All operations](https://skmtc.net/emergentmethods/apis/flowdapt/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/emergentmethods/flowdapt/versions/9dcc0f60f7f6/schema)
