added the destroy action api/v1/tasks controller