A Florida appeals court has ruled that the City of Miami can block residents from renting out their homes for less than a month at a time, throwing the future of vacation rental companies like California-based Airbnb Inc. into uncertainty. The move reverses Miami-Dade Circuit Judge Beatrice Butchko’s earlier ruling, which temporarily halted the ban.

The dispute began in April 2017, when Airbnb and five Miami residents sued the city, claiming it was running an “aggressive anti-Airbnb campaign.”