---
title: "Update Task Run"
method: PATCH
path: "/api/task_runs/{id}"
tags: ["Task Runs"]
---

# Update Task Run

`PATCH /api/task_runs/{id}`

Updates a task run.

## Path parameters

- `id` string, uuid, required — The task run id

## Headers

- `x-prefect-api-version` string

## Request body

- TaskRunUpdate — Data used by the Prefect REST API to update a task run
  - `name` string

## Response `204`

Successful Response

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/prefecthq/apis/untitled-api-2.md) · [All operations](https://skmtc.net/prefecthq/apis/untitled-api-2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/prefecthq/untitled-api-2/versions/29ba6c4f8837/schema)
