First, East Hampton withdrew the welcome mat. Now Southampton is telling the national company Gilt City that the party is over.

The Southampton Town Board on Friday told the company to stop hosting parties at a private, rented home in the town.

The town board voted to authorize its town attorney to seek an injunction that would stop such party events. The action came at a meeting called to address the issue.

Town officials said that Gilt City’s plan to host parties at 1432 Scuttle Hole Rd. in Bridgehampton violates zoning laws that prevent operating a business in residential zoning.

“Southampton has worked very hard to make sure that quality-of-life issues have been adequately addressed over the years,” said Councilwoman Nancy Graboski. “This is a business venture in a residentially zoned neighborhood.”

Gilt City spokeswoman Betsy Goldin said it’s all a misunderstanding.

“We are hosting private events in the Hamptons and working out the misunderstandings with the town,” she said in a statement.

Earlier in the summer, East Hampton Village officials told Gilt City that it could not hold a series of events at a home there, also citing business or commercial use in a residential zone. According to Village Administrator Larry Cantwell, Gilt City agreed to move its summer events.

Southampton Town board members authorized the town attorney to also begin enforcement action at a second home, at 2136 Deerfield Rd. in Noyack, where neighbors have complained about a series of parties.