I hear this talk about POTUS being able to deem "classified" information as "declassified" as per their own arbitrary discretion and per that, the POTUS does not violate anything; I wonder if this is actually true and if so it'd seem the POTUS is exempt from the Espionage Act of 1917.
Could a POTUS be subject to prosecution on the Espionage Act of 1917 and what would it take to make that actually happen to a POTUS?
Related Recent Event
According to the Washington Post Trump revealed highly classified information to Russia~
The information the president relayed had been provided by a U.S. partner through an intelligence-sharing arrangement considered so sensitive that details have been withheld from allies and tightly restricted even within the U.S. government, officials said.
The partner had not given the United States permission to share the material with Russia, and officials said Trump’s decision to do so endangers cooperation from an ally that has access to the inner workings of the Islamic State. After Trump’s meeting, senior White House officials took steps to contain the damage, placing calls to the CIA and the National Security Agency.
Then as per Espionage Act of 1917
It was based on the Defense Secrets Act of 1911, especially the notions of obtaining or delivering information relating to "national defense" to a person who was not "entitled to have it", itself based on an earlier British Official Secrets Act. The Espionage Act law imposed much stiffer penalties than the 1911 law, including the death penalty.