---
title: "Update task"
method: PUT
path: "/projects/{project_id}/tasks/{id}"
tags: ["Tasks"]
---

# Update task

`PUT /projects/{project_id}/tasks/{id}`

Updates a task's name, description, and status

## Path parameters

- `project_id` integer, required
- `id` integer, required

## Request body

- Task
  - `id` integer
  - `name` string — Name of the task
  - `description` string — Description of the task - supports limited subset of HTML &lt;b&gt;, &lt;ul&gt;, &lt;li&gt;, &lt;br&gt;, and &lt;a&gt;.
  - `status` 'to_do' | 'pending_review' | 'approved' — Status of the task

## Response `200`

successful

---

[API](https://skmtc.net/gettruss/apis/api-v1.md) · [All operations](https://skmtc.net/gettruss/apis/api-v1/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/gettruss/api-v1/versions/7c956b3d1bdf/schema)
