U.S. embassies and consulates were told to terminate subscriptions to the New York Times, the Associated Press and other media outlets.