Easy question for everyone and women.

Can One remove unattached media via xmlrpc? If that's the case please guide me as to the function is going to do it. Thanks

In a roundabout way. Remove functions are locked to 'page' and 'post' publish_type-s. Only the rFC Plugin will help you. It exposes all WordPress functions to XMLRPC clients. Or write your personal XMLRPC extension. Nonetheless, you have to PIMP Wordpress to get this done remotely.