---
title: "Update a task"
method: POST
path: "/tasks/{taskKey}"
---

# Update a task

`POST /tasks/{taskKey}`

This call lets you edit a specific [task](reference#read-a-task).

The post data for this request must be a well formed JSON object. The properties of the JSON object determine what properties of the task get updated. The following are the allowable properties for that JSON object. All other properties will be ignored.

## Path parameters

- `taskKey` string, required

## Request body

- object
  - `text` string — Updated task description
  - `dueDate` integer — Updated dueDate (in MS since epoch)
  - `status` string — Either `DONE` or `NOT_DONE`
  - `assignedToSharingEntries` object[] — Each object needs a key of `email` and a value of the assignee's email.
    - `email` string — Email address

## Response `200`

200

- object
  - `boxKey` string
  - `pipelineKey` string
  - `creatorKey` string
  - `creationDate` integer
  - `lastStatusChangeDate` integer
  - `text` string
  - `status` string
  - `assignedToSharingEntries` object[]
    - `displayName` string
    - `fullName` string
    - `userKey` string
  - `key` string
  - `lastSavedTimestamp` integer

## Other responses

- `400` — 400

---

[API](https://skmtc.net/streakyc/apis/directory-fields.md) · [All operations](https://skmtc.net/streakyc/apis/directory-fields/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/streakyc/directory-fields/versions/f9ece0b33f19/schema)
