Use this API to delete snmpview.
329849
public static base_response delete(nitro_service client, snmpview resource) throws Exception {
		snmpview deleteresource = new snmpview();
		deleteresource.name = resource.name;
		deleteresource.subtree = resource.subtree;
		return deleteresource.delete_resource(client);
	}
441878
public static base_response unset(nitro_service client, snmpmanager resource, String[] args) throws Exception{
		snmpmanager unsetresource = new snmpmanager();
		unsetresource.ipaddress = resource.ipaddress;
		unsetresource.netmask = resource.netmask;
		return unsetresource.unset_resource(client,args);
	}
1132273
@Override
    public void dismiss(int i) {
        if (mAdapterListener != null) {
            if (mHeaderView != null) {
                i--;
            }
            mTracks.remove(i);
            mAdapterListener.onTrackDismissed(i);
        }
    }
1335115
public void dismiss() {
        mPopup.dismiss();
        removePromptView();
        mPopup.setContentView(null);
        mDropDownList = null;
        mHandler.removeCallbacks(mResizePopupRunnable);
    }
570481
def delete(self):
        
        self.__dmlquery__(self.__class__, self,
                          batch=self._batch,
                          timestamp=self._timestamp,
                          consistency=self.__consistency__,
                          timeout=self._timeout).delete()
571710
def view_delete(self, id, **kwargs):
        ""
        api_path = "/api/v2/views/{id}.json"
        api_path = api_path.format(id=id)
        return self.call(api_path, method="DELETE", **kwargs)
749744
def __destroyLockedView(self):
        
        if self._lockedView:
            self._lockedView.close()
            self._lockedView.deleteLater()
            self._lockedView = None
1175610
public void delete(BlackDuckView blackDuckView) throws IntegrationException {
        if (blackDuckView.getHref().isPresent()) {
            String url = blackDuckView.getHref().get();
            delete(url);
        }
    }
1289080
async def delete(self):
        """"""
        _val = await self.request.delete(
            self._base_path,
            params={
                ATTR_SCENE_ID: self._raw_data.get(ATTR_SCENE_ID),
                ATTR_SHADE_ID: self._raw_data.get(ATTR_SHADE_ID),
            },
        )
        return _val
951321
def delete(self):
        
        self.__dmlquery__(self.__class__, self,
                          batch=self._batch,
                          timestamp=self._timestamp,
                          consistency=self.__consistency__,
                          timeout=self._timeout,
                          conditional=self._conditional,
                          if_exists=self._if_exists).delete()
781317
public static base_response unset(nitro_service client, snmpmib resource, String[] args) throws Exception{
		snmpmib unsetresource = new snmpmib();
		return unsetresource.unset_resource(client,args);
	}
1307479
async def delete(self):
        """"""
        interface = self._data['interface']
        data = await interface._handler.unlink_subnet(
            system_id=interface.node.system_id, id=interface.id, _id=self.id)
        interface._data['links'] = list(data['links'])
        interface._orig_data['links'] = copy.deepcopy(interface._data['links'])
724047
def delete(self):
        """"""
        if not self.remote:
            if not os.path.exists(self.projectpath + self.basedir + '/' + self.filename):
                return False
            else:
                os.unlink(self.projectpath + self.basedir + '/' + self.filename)

            #Remove metadata
            metafile = self.projectpath + self.basedir + '/' + self.metafilename()
            if os.path.exists(metafile):
                os.unlink(metafile)

            #also remove any .*.INPUTTEMPLATE.* links that pointed to this file: simply remove all dead links
            for linkf,realf in clam.common.util.globsymlinks(self.projectpath + self.basedir + '/.*.INPUTTEMPLATE.*'):
                if not os.path.exists(realf):
                    os.unlink(linkf)

            return True
        else:
            if self.client:
                requestparams = self.client.initrequest()
            else:
                requestparams = {}
            requests.delete( self.projectpath + self.basedir + '/' + self.filename, **requestparams)
            return True
737681
public static base_response delete(nitro_service client, String urlname) throws Exception {
		vpnurl deleteresource = new vpnurl();
		deleteresource.urlname = urlname;
		return deleteresource.delete_resource(client);
	}
324408
@Help(
    help = "Delete the PhysicalNetworkFunctionRecord of a NetworkServiceRecord with specific id"
  )
  public void deletePhysicalNetworkFunctionRecord(final String idNsr, final String idPnfr)
      throws SDKException {
    String url = idNsr + "/pnfrecords" + "/" + idPnfr;
    requestDelete(url);
  }
1339512
def destroy(self):
        
        widget = self.widget
        if widget is not None:
            parent = self.parent_widget()
            if parent is not None:
                parent.removeView(widget)
            del self.widget
        super(AndroidToolkitObject, self).destroy()
734307
public static base_response delete(nitro_service client, String monitorname) throws Exception {
		lbmonitor deleteresource = new lbmonitor();
		deleteresource.monitorname = monitorname;
		return deleteresource.delete_resource(client);
	}