As of November 1st 2019, Los Angeles has new vacation rental regulations.  For starters, residents living in rent-controlled apartments are prohibited from using their unit for short-term rentals.  Otherwise, the following applies: 

Hosts in Los Angeles can consult the complete city ordinance, or this handy FAQ prepared by the city.