Updates task details. All fields optional. Use the dedicated /status endpoint for status changes. Admin only.
Request
Add the parameter Authorization
to Headers Example:Authorization: ********************
or
Body Params application/jsonRequired
{
"title": "Build Dashboard UI v2",
"priority": "HIGH",
"deadline": "2026-03-15T00:00:00.000Z"
}
Request Code Samples
curl --location --request PUT '/tasks/cm5task001' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"title": "Build Dashboard UI v2",
"priority": "HIGH",
"deadline": "2026-03-15T00:00:00.000Z"
}'
Responses
{
"success": true,
"data": {
"id": "cm5task001",
"title": "Build Dashboard UI v2",
"priority": "HIGH",
"deadline": "2026-03-15T00:00:00.000Z",
"status": "IN_PROGRESS"
},
"message": "Task updated successfully"
}
Modified at 2026-02-22 18:59:05