"Was it legal?"
Alan Dershowitz says it is:
"The decision to target and kill Osama Bin Laden is being applauded by all decent people. Approval to capture or kill this mass-murdering terrorist leader was given by Presidents Obama and Bush. It was the right decision, both morally and legally."