POTUS has the ultimate authority to declassify anything he wishes, per Article 2, Section 2 of the US Constitution.    He has access to everything within the Executive Branch, which includes the 16 Intelligence Agencies (e.g. CIA, DOJ/FBI, NSA, DNI, DHS, Secret Service).