It is legitimate and legal for there to be a military intervention in Venezuela, any country is authorized to intervene and attack the Maduro regime and army 

That includes the US and the 4 volunteers who are willing to participate in the war process