Well, one guy was grounded. https://en.wikipedia.org/wiki/William_Calley
"William Laws Calley, Jr. (born June 8, 1943) is a former United States Army officer found guilty of murdering 22 unarmed South Vietnamese civilians in the My Lai Massacre on March 16, 1968, during the Vietnam War. After several reductions, Calley’s original sentence of life in prison was turned into an order of house arrest, but after three years, President Nixon reduced his sentence with a presidential pardon."
I guess that'll be as good as it gets.
How could they have known what the people they command do? They could never possibly even dream of doing anything wrong, and if they did, they always did it in the best interests of those they lead and governed. And if it was illegal, well, they'll make it legal; and if convicted, the conviction will be overturned on appeal, or you'll get pardoned.. unless you piss off the wrong man in power. Then you could get shot in the face, and made to apologize for being in the way of the gun.
The only reason the Nuremberg trails happened at all, was that Germany lost. No-one was indited over fire-bombing Dresden, or nuking Hiroshima. People didn't go to prison over atrocities committed in Vietnam.
While there should be prosecution over this, it seems unlikely to happen in the current US system. I'm not holding my breath, but with the continuing unrest in the country, there might be some actual changes in the coming years. But a lot would need to happen -- for example there's the need for a viable political power-block other than the Democrats and the Republicans -- I sadly don't see that happening any time soon.