Toggle the completion state of a subtask.
curl -X PATCH http://localhost:3000/api/v1/tasks/subtasks/clsub001/toggle \
-H "Authorization: Bearer <token>"
{
"id": "clsub001",
"title": "Write unit tests",
"completed": true,
"taskId": "clxyz789"
}
Documentation Index
Fetch the complete documentation index at: https://docs.nexusmission.com.br/llms.txt
Use this file to discover all available pages before exploring further.
curl -X PATCH http://localhost:3000/api/v1/tasks/subtasks/clsub001/toggle \
-H "Authorization: Bearer <token>"
{
"id": "clsub001",
"title": "Write unit tests",
"completed": true,
"taskId": "clxyz789"
}
curl -X PATCH http://localhost:3000/api/v1/tasks/subtasks/clsub001/toggle \
-H "Authorization: Bearer <token>"
{
"id": "clsub001",
"title": "Write unit tests",
"completed": true,
"taskId": "clxyz789"
}