UPDATE: The New York Times on Friday walked back a story slamming UN Ambassador Nikki Haley — issuing a lengthy editors note conceding that the paper unfairly blamed her for blowing big bucks on curtains for her East Side pad when in fact they were ordered during the Obama era.

The State Department spent $52,700 on “customized and mechanized” curtains for an apartment across from the UN on the East Side of Manhattan that’s now being used by Ambassador Nikki Haley.

The curtains were purchased to adorn the UN ambassador’s 6,000-square-foot, full-floor luxe penthouse atop an apartment building on First Avenue, according to the New York Times.

A spokesperson for Haley said plans to buy the curtains were made during the Obama administration, and The Times on Friday attached a note to their online version of the story acknowledging that, and admitting they were mistaken for putting Haley under the spotlight.

“An earlier version of this article and headline created an unfair impression about who was responsible for the purchase in question. While Nikki R. Haley is the current ambassador to the United Nations, the decision on leasing the ambassador’s residence and purchasing the curtains was made during the Obama administration, according to current and former officials,” the Grey Lady said in the note.

“The article should not have focused on Ms. Haley, nor should a picture of her have been used. The article and headline have now been edited to reflect those concerns, and the picture has been removed.”

The Times reported that the curtains cost $29,900, while the motors and hardware used to automatically open and close them cost $22,801.

The installation took place from March to August last year.

Haley is the first UN ambassador to live in the building after a Chinese company purchased the Waldorf-Astoria and the State Department deemed it unfit due to security concerns.

Her apartment is listed for $58,000 a month.