Skip to main content
PATCH
/
api
/
task_runs
/
{id}
Update Task Run
curl --request PATCH \
  --url https://api.example.com/api/task_runs/{id} \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>"
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Headers

x-prefect-api-version
string

Path Parameters

id
string<uuid>
required

The task run id

Body

application/json

Data used by the Prefect REST API to update a task run

name
string

Response

Successful Response