Tasks
Delete Task
Delete a task permanently.
DELETE
/
tasks
/
{id}
curl -X DELETE http://localhost:3000/api/v1/tasks/clxyz789 \
-H "Authorization: Bearer <token>"
{
"message": "Task deleted successfully"
}
⌘I
curl -X DELETE http://localhost:3000/api/v1/tasks/clxyz789 \
-H "Authorization: Bearer <token>"
{
"message": "Task deleted successfully"
}