The city announced on Thursday that residents will only be allowed to rent their primary residences on platforms such as Airbnb between June 10 and Sept. 10, with some exceptions.