Use this API to delete snmpcommunity resources of given names.
172539
public static base_responses delete(nitro_service client, String communityname[]) throws Exception {
		base_responses result = null;
		if (communityname != null && communityname.length > 0) {
			snmpcommunity deleteresources[] = new snmpcommunity[communityname.length];
			for (int i=0;i<communityname.length;i++){
				deleteresources[i] = new snmpcommunity();
				deleteresources[i].communityname = communityname[i];
			}
			result = delete_bulk_request(client, deleteresources);
		}
		return result;
	}
989273
public static base_responses delete(nitro_service client, String ipfrom[]) throws Exception {
		base_responses result = null;
		if (ipfrom != null && ipfrom.length > 0) {
			location deleteresources[] = new location[ipfrom.length];
			for (int i=0;i<ipfrom.length;i++){
				deleteresources[i] = new location();
				deleteresources[i].ipfrom = ipfrom[i];
			}
			result = delete_bulk_request(client, deleteresources);
		}
		return result;
	}
952296
public static base_response delete(nitro_service client, ntpserver resource) throws Exception {
		ntpserver deleteresource = new ntpserver();
		deleteresource.serverip = resource.serverip;
		deleteresource.servername = resource.servername;
		return deleteresource.delete_resource(client);
	}
1336799
public static syslog_snmp delete(nitro_service client, syslog_snmp resource) throws Exception
	{
		resource.validate("delete");
		return ((syslog_snmp[]) resource.delete_resource(client))[0];
	}
102181
private void clearMemberData()
   {
      m_reader = null;
      m_root = null;
      m_eventManager = null;
      m_file = null;
      m_calendarMap = null;
      m_projectDir = null;
      m_viewDir = null;
   }
587776
public static base_response delete(nitro_service client, String profilename) throws Exception {
		vpnclientlessaccessprofile deleteresource = new vpnclientlessaccessprofile();
		deleteresource.profilename = profilename;
		return deleteresource.delete_resource(client);
	}
1268245
def deleteNetwork(self, id, headers=None, query_params=None, content_type="application/json"):
        
        uri = self.client.base_url + "/network/"+id
        return self.client.delete(uri, None, headers, query_params, content_type)
2245
@Override
    public void destroyResources() {
        if (eurekaConnCleaner != null) {
            // Execute the connection cleaner one final time during shutdown
            eurekaConnCleaner.execute(connectionCleanerTask);
            eurekaConnCleaner.shutdown();
        }
        if (apacheHttpClient != null) {
            apacheHttpClient.close();
        }
    }
969902
public static base_responses delete(nitro_service client, String ip[]) throws Exception {
		base_responses result = null;
		if (ip != null && ip.length > 0) {
			dnsnameserver deleteresources[] = new dnsnameserver[ip.length];
			for (int i=0;i<ip.length;i++){
				deleteresources[i] = new dnsnameserver();
				deleteresources[i].ip = ip[i];
			}
			result = delete_bulk_request(client, deleteresources);
		}
		return result;
	}
624994
def delete(self, *names):
        '''
        
        '''

        def change(session):
            keys = session.keys()
            names_in_common = [name for name in names if name in keys]
            for name in names_in_common:
                del session[name]
        self.__change_session(change)
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);
	}
886332
public static base_response delete(nitro_service client, String network) throws Exception {
		route6 deleteresource = new route6();
		deleteresource.network = network;
		return deleteresource.delete_resource(client);
	}
835844
public static void destroyAll() {
        for (Map.Entry<ServerConfig, ProtocolConfig> entry : SERVER_MAP.entrySet()) {
            entry.getValue().destory();
        }
        try {
            ProtocolConfig.destroyAll();
        } catch (Exception e) {
            // NOPMD
        }
    }
754793
public static base_response delete(nitro_service client, dnsaddrec resource) throws Exception {
		dnsaddrec deleteresource = new dnsaddrec();
		deleteresource.hostname = resource.hostname;
		deleteresource.ipaddress = resource.ipaddress;
		return deleteresource.delete_resource(client);
	}
795252
public static base_response delete(nitro_service client, dnsnameserver resource) throws Exception {
		dnsnameserver deleteresource = new dnsnameserver();
		deleteresource.ip = resource.ip;
		deleteresource.dnsvservername = resource.dnsvservername;
		return deleteresource.delete_resource(client);
	}
697102
public static base_responses delete(nitro_service client, String profilename[]) throws Exception {
		base_responses result = null;
		if (profilename != null && profilename.length > 0) {
			vpnclientlessaccessprofile deleteresources[] = new vpnclientlessaccessprofile[profilename.length];
			for (int i=0;i<profilename.length;i++){
				deleteresources[i] = new vpnclientlessaccessprofile();
				deleteresources[i].profilename = profilename[i];
			}
			result = delete_bulk_request(client, deleteresources);
		}
		return result;
	}
1259185
def delete_network_resource_property_entry(resource, prop):
    

    def delete_func(cmd, resource_group_name, resource_name, item_name, no_wait=False):  # pylint: disable=unused-argument
        client = getattr(network_client_factory(cmd.cli_ctx), resource)
        item = client.get(resource_group_name, resource_name)
        keep_items = \
            [x for x in item.__getattribute__(prop) if x.name.lower() != item_name.lower()]
        _set_param(item, prop, keep_items)
        if no_wait:
            sdk_no_wait(no_wait, client.create_or_update, resource_group_name, resource_name, item)
        else:
            result = sdk_no_wait(no_wait, client.create_or_update, resource_group_name, resource_name, item).result()
            if next((x for x in getattr(result, prop) if x.name.lower() == item_name.lower()), None):
                raise CLIError("Failed to delete '{}' on '{}'".format(item_name, resource_name))

    func_name = 'delete_network_resource_property_entry_{}_{}'.format(resource, prop)
    setattr(sys.modules[__name__], func_name, delete_func)
    return func_name