Skip to main content
PATCH
/
tasks
/
{id}
curl -X PATCH http://localhost:3000/api/v1/tasks/clxyz789 \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{"status": "IN_PROGRESS"}'
{
  "id": "clxyz789",
  "title": "Implement login",
  "status": "IN_PROGRESS",
  "priority": "HIGH"
}

Path Parameters

id
string
required
Task ID.

Body

Any fields from Create Task can be partially updated.
curl -X PATCH http://localhost:3000/api/v1/tasks/clxyz789 \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{"status": "IN_PROGRESS"}'
{
  "id": "clxyz789",
  "title": "Implement login",
  "status": "IN_PROGRESS",
  "priority": "HIGH"
}