Add delete plugin endpoint