Notice to leave a room for rent

If there is a solidarity clause which governs the roommate, it must give notice to the owner by registered letter and inform the other housemates before leaving the roommate.