---
title: "Update a task"
method: PATCH
path: "/v1/tasks/{taskId}"
tags: ["Tasks"]
---

# Update a task

`PATCH /v1/tasks/{taskId}`

Update a task in Betayum. Manage compliance task lifecycle, assignments, review approvals, evidence uploads, policy links, and activity history.

## Path parameters

- `taskId` string, required

## Request body

- object
  - `title` string — Task title
  - `description` string — Task description
  - `status` 'todo' | 'in_progress' | 'in_review' | 'done' | 'not_relevant' | 'failed'
  - `assigneeId` string, nullable — Assignee member ID, or null to unassign
  - `approverId` string, nullable — Approver member ID, or null to unassign
  - `frequency` 'daily' | 'weekly' | 'monthly' | 'quarterly' | 'yearly'
  - `integrationScheduleFrequency` 'daily' | 'weekly' | 'monthly' | 'quarterly' | 'yearly' — Cadence for running the integration check attached to this task
  - `department` 'none' | 'admin' | 'gov' | 'hr' | 'it' | 'itsm' | 'qms'
  - `reviewDate` string, date-time
  - `notRelevantJustification` string — Required justification when marking evidence tasks as not_relevant

## Response `200`

Task updated successfully

- TaskResponseDto
  - `id` string, required — Unique identifier for the task
  - `title` string, required — Task title
  - `description` string — Task description
  - `status` 'todo' | 'in_progress' | 'done' | 'blocked', required — Task status
  - `createdAt` string, date-time, required — Task creation timestamp
  - `updatedAt` string, date-time, required — Task last update timestamp
  - `taskTemplateId` object, nullable — Task template ID
  - `integrationScheduleFrequency` 'daily' | 'weekly' | 'monthly' | 'quarterly' | 'yearly', required — Cadence for running the integration check attached to this task
  - `integrationLastRunAt` object, nullable — Last successful integration check run timestamp

## Other responses

- `400` — Invalid request body or task not found
- `404` — Task not found

---

[API](https://skmtc.net/om-network/apis/betayum-api.md) · [All operations](https://skmtc.net/om-network/apis/betayum-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/om-network/betayum-api/revisions/1c5403653ecf/schema)
