---
title: "Update workflow"
method: PATCH
path: "/workflows/{workflowId}"
tags: ["Workflows (Beta)"]
---

# Update workflow

`PATCH /workflows/{workflowId}`

Update the workflow service with the provided ID.

## Request body

- object
  - `name` string
  - `buildConfig` BuildConfig — unresolved $ref
  - `runCommand` string — The command to run the workflow
  - `autoDeployTrigger` AutoDeployTrigger — unresolved $ref

## Response `200`

Workflow updated

- Workflow — unresolved $ref

## Other responses

- `401` — Authorization information is missing or invalid.
- `403` — You do not have permissions for the requested resource.
- `404` — Unable to find the requested resource.
- `429` — Rate limit has been surpassed.
- `500` — An unexpected server error has occurred.
- `503` — Server currently unavailable.

---

[API](https://skmtc.dev/render/apis/render-public-api.md) · [All operations](https://skmtc.dev/render/apis/render-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/render/render-public-api/revisions/80e0ff74d033/schema)
