---
title: "Update a task"
method: PUT
path: "/workflow-runs/{workflowRunId}/tasks/{taskId}"
tags: ["Tasks"]
---

# Update a task

`PUT /workflow-runs/{workflowRunId}/tasks/{taskId}`

A PUT request replaces all values, so all fields must be supplied in each request.
To remove a due date, you may send a null value or omit the field. See the examples for more.

## Path parameters

- `workflowRunId` string, required
- `taskId` string, required

## Request body

- UpdateTaskRequest
  - `status` 'NotCompleted' | 'Completed', required — Whether the task is complete. - `NotCompleted` — the task has not yet been checked off. - `Completed` — the task has been checked off.
  - `dueDate` string, date-time — Due date. ISO-8601 UTC.

## Response `204`

## Other responses

- `400` — Invalid value for: body
- `default`

---

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