PATCH/todos/{id}
Partially update todo
Partial update — only provided fields change. Triggers `todos.updated` webhook.
Parameters 1
| Name | Type | Description |
|---|---|---|
idrequired | path · integer | Resource identifier |
ReturnsTodo
AcceptsTodoInput
Bearer token required
Response examples
200Todo updated
{
"id": 1,
"userId": 1,
"title": "Configure monitoring",
"completed": true,
"priority": "low",
"dueDate": null,
"tags": [],
"createdAt": "2024-01-25T00:38:32.919Z"
}400400 — invalid input or malformed JSON
{
"error": {
"status": 400,
"message": "Request body required"
}
}404404 — resource not found
{
"error": {
"status": 404,
"message": "users #999 not found"
}
}