Santa Monica has passed strict new regulations on the booming short-term rental industry.

The Los Angeles Times reports the city council voted unanimously Tuesday for the measure that will prohibit the rental of an entire unit for less than 30 days.

The rules legalize “home-sharing,” where guests can rent a couch, spare bedroom or backyard unit. But hosts are required to obtain a business license and pay Santa Monica’s 14 percent hotel tax.

The vote was taken with no debate despite a protest by more than 100 short-term rental hosts and supporters.

Other Southern California cities including Malibu and West Hollywood have also recently tightened rules on short-term rentals via sites like Airbnb, which connects hosts with renters.

Photo Credit: An Airbnb listing in Santa Monica, CA that violates the city's new short-term rental law. Airbnb