---
title: "Update a workflow"
method: PUT
path: "/v1/workflows/{id}"
tags: ["Workflows"]
---

# Update a workflow

`PUT /v1/workflows/{id}`

Updates a workflow definition.

## Request body

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

## Response `200`

A workflow.

- object
  - `data` Workflow
    - `id` string
    - `name` string
    - `description` string
    - `createdAt` string, date-time
    - `updatedAt` string, date-time

## Other responses

- `400` — The request body or parameters are invalid.
- `401` — Missing or invalid API key credentials.
- `404` — The resource does not exist in your organization.

---

[API](https://skmtc.net/metal/apis/metal-api.md) · [All operations](https://skmtc.net/metal/apis/metal-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/metal/metal-api/revisions/afb7b675d5b2/schema)
