The N.F.L. agreed not to push its teams to set minimum ticket prices on online ticket exchanges as part of a settlement with several state attorneys general.

Earlier this year, Eric T. Schneiderman, the New York State attorney general, started an investigation into whether the league’s ticket pricing practices, which included putting a “price floor” on tickets sold on league websites, violated antitrust laws.

According to the terms of a settlement with attorneys general from Florida, Massachusetts, New York, Ohio, Pennsylvania and the District of Columbia, the N.F.L. will let each team decide whether it wants to set minimum prices for tickets resold on online exchanges. The league said it would stop “formally or informally coordinating or encouraging pricing practices among its member clubs” that would result in minimum resale prices.

The league also agreed to pay about $100,000 to cover the costs borne by the attorneys general.

Teams and the league have blamed resellers like StubHub for declines in attendance because, they say, the reselling of cheap tickets online makes it more difficult for them to sell full-price tickets at the box office. To combat that competition, some teams have prevented season-ticket holders from selling tickets at prices below face value.