Update a Task Comment

PUT/api/tasks/{task_id}/comments/{comment_id}

Updates the text of an existing task comment. Requires the Tasks "put" permission.

Headers

FieldTypeDescription
authtoken String Authentication token, generated from admin area

Parameters

FieldTypeDescription
task_id Number Task unique ID (URL segment).
comment_id Number Comment unique ID (URL segment).
content String Mandatory new comment text.
curl -X PUT "https://yoursite.com/api/tasks/123/comments/123" \
  -H "authtoken: YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ "content": "..." }'

Success-Response:

HTTP/1.1 200 OK
{ "status": true, "message": "Comment updated successfully" }
MethodPUT
Path/api/tasks/{task_id}/comments/{comment_id}
GroupTasks
Sincev3.0.3
Defined inmodules/api/controllers/Tasks.php