Magnonics is an emerging research area where magnons or spin waves are used as a medium of information processing. Efficient manipulation/gating of magnons on-chip is crucial for realization of logic circuitry and device integration. Here, we show a simple method for gating of the magnons in a magnetic wire based on the dipolar coupled chain of nanomagnets. Spin wave propagation has been directly measured using the micro-Brillouin light scattering technique. We observed a significant reduction of spin wave amplitude by switching the nanomagnets using microwave current through a coplanar waveguide, which was also used for spin wave generation. Microwave assisted magnetization switching has been probed using the magnetic force microscopy technique. The results have potential implications in the area of wave based devices for next generation high frequency communication technologies. © 2020 Author(s).