A week after the American Institute of Architects pledged to work with President-elect Donald J. Trump, the organization walked back its statement and apologized.

“The message that went out was a mistake, and it should not have happened,” Russell Davidson, the 2016 president of the institute, said in a video along with the organization’s chief executive, Robert Ivy. “We will continue to be at the table and be a voice for the profession, especially when it comes to diversity, equity and inclusion. We will advocate vigorously for our sustainability agenda, including the impacts of climate change.”

The initial statement was sent out soon after Mr. Trump was elected, and cited his call to significantly increase infrastructure spending. (In July, Mr. Trump said the United States should invest between $1 trillion and $2 trillion in infrastructure over the next 10 years.) The statement read: “The A.I.A. and its 89,000 members are committed to working with President-elect Trump to address the issues our country faces, particularly strengthening the nation’s aging infrastructure.”

It quickly caused a backlash from local chapters, architecture organizations and publications, with some calling for Mr. Ivy’s resignation. Fritz Read, an architect in Maryland, resigned from the group in protest. The Equity Alliance, which promotes diversity and equality in architecture, published an open letter to Mr. Ivy, writing, “Please recognize that, in word and in action, you perpetuated our profession’s white male privilege.”