Hello Prateek Yes there are two ways to do this. If the traffic is locally bridged at the AP then you can do the same command to stop them on the wired network. You can also block them in the AP by adding their MAC into the wireless firewall. Please check out the WM_5.4_Controller_reference_guide to see step by step process.
Thanks
P