Carmelo Anthony says the Knicks urged him to issue an apology.

The Knicks star confirmed Thursday what everyone suspected — that his apology for arguing with a fan wasn’t his idea.

“I don’t think I said anything wrong,” Anthony said Thursday.

A day earlier, the Knicks issued a statement on Anthony’s behalf that included the All-Star saying that he “should not have responded the way I did” to a heckling fan Tuesday night. In the midst of a blowout loss to the Trail Blazers, Anthony, hearing it from the fan, pointed to James Dolan and told the fan to “ask for your money back.”

On Thursday, Anthony said that both he and Dolan discussed the situation and that the decision to send out an apology came from Dolan.

“The Knicks,” Anthony said with a laugh when asked what prompted the statement.

“It was Mr. Dolan’s decision,” he added, saying that they didn’t spend much time talking about it and there was no formal sit-down.

“Nah, it’s not that serious,” he said. “It’s really not that serious to me. It was just one of those moments you’re getting booed, the team is getting booed, you’re not playing well. The fan is sitting there right behind the bench and you catch what he said. He’s trying to get your attention. And I said what I said. I don’t think I said anything wrong.”

Anthony called the decision “a collaborative effort. ... Everybody thought it would be a good idea to send out an apology.”

Tuesday’s loss was the Knicks’ 11th defeat in their last 13 games. Anthony led the Knicks with 23 points, but needed 20 shots to get there. The game also included a lowlight from the 31-year-old, who tried to dunk after the play was whistled dead, only to get stuffed by the rim.

Anthony followed his apology up by missing the Knicks’ charity bowling event Wednesday night due to “personal reasons.”

While the apology might not have been Anthony’s idea, he did agree with one part of it.

“Oh, it definitely was frustration. Losing builds up,” he said. “You don’t want to hear that from a fan.”