---
title: "Update Task"
method: PATCH
path: "/tasks/{task_id}"
---

# Update Task

`PATCH /tasks/{task_id}`

## Request

- Base URL: `https://api.roapp.io/v2`
- URL: `https://api.roapp.io/v2/tasks/{task_id}`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/roapp/apis/ro-app-public-api-v2/docs/tasks/:task_id/patch.ts> (a function with typed inputs; its response is checked against the schema)

Update an existing task.

## Path parameters

- `task_id` number, required

## Request body

- object
  - `title` string: Task title
  - `description` string: Task description
  - `priority` 'low' | 'medium' | 'high': Task priority
  - `due_date` string: Task due date (example: "2026-10-29" or "2026-10-29T12:00:00Z")
  - `assignee_ids` number[]: Array of Employee IDs
  - `related_object` object: Related Object
    - `type` 'task' | 'inquiry' | 'order' | 'invoice' | 'client', required: Object Type
    - `id` number, required: Object ID

## Response `200`

200

- object

## Other responses

- `400`: 400

## Changes

- **2026-11-03** `df0f57c15ea0`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/roapp/apis/ro-app-public-api-v2/changes/tasks/:task_id/patch.md)

---

[API](https://skmtc.dev/roapp/apis/ro-app-public-api-v2.md) - [All operations](https://skmtc.dev/roapp/apis/ro-app-public-api-v2/llms.txt) - [OpenAPI document](https://skmtc.dev/roapp/apis/ro-app-public-api-v2/revisions/df0f57c15ea0?raw)
