In apartments, ringing the doorbell is legal, so long as you adhere to the rules and regulations of your building. In some buildings, you may be restricted in what type of doorbells you can install or how they must be installed. Before installing any doorbell system, you should contact your landlord or property manager.