It depends. If the lease was entered into before 1 July 2024 for the duration of two years or less (five years or less in the case of non-self-contained housing), the landlord can terminate the lease without cause by the end of the agreed period. Strictly speaking, the landlord does not have to give notice of termination, but must give notice of termination . The landlord must do this no later than one month before the expiry of the agreed period (but no earlier than three months).
If the lease is (now) for an indefinite period, the landlord can only terminate the lease if there is a legal ground for termination. A legal ground for termination is, for example, if the landlord himself urgently needs the property again.