---
title: "Patch a todo (atomic field-level mutation)"
method: PATCH
path: "/todos/{id}"
---

# Patch a todo (atomic field-level mutation)

`PATCH /todos/{id}`

## Request body

- PatchTodoRequest — any combination of fields; at least one is required
  - `title` string
  - `done` boolean
  - `dueAt` string, date-time

## Response `200`

OK (returns the post-patch todo)

- Todo
  - `id` string, uuid, required
  - `title` string, required
  - `done` boolean, required
  - `dueAt` string, date-time, required
  - `createdAt` string, date-time, required

## Other responses

- `400` — Error
- `404` — Error

---

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