Use this API to delete dnsnameserver resources of given names.
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;
	}
1011276
function() {
    Object.keys(this.name2Ws).forEach(function(name) {
      delete this.name2Ws[name];
    }.bind(this));

    Object.keys(this.ws2Name).forEach(function(wsId) {
      delete this.ws2Name[wsId];
    }.bind(this));
  }
311353
public static base_response unset(nitro_service client, dnsparameter resource, String[] args) throws Exception{
		dnsparameter unsetresource = new dnsparameter();
		return unsetresource.unset_resource(client,args);
	}
1098027
public function removeResources ()
	{

		foreach (array_keys ($this->resources) as $name)
		{
			if (isset ($this->$name))
			{
				unset ($this->$name);
			}
		}

		unset ($this->resources);
		
	}
823890
public static base_response delete(nitro_service client, dnstxtrec resource) throws Exception {
		dnstxtrec deleteresource = new dnstxtrec();
		deleteresource.domain = resource.domain;
		deleteresource.String = resource.String;
		deleteresource.recordid = resource.recordid;
		return deleteresource.delete_resource(client);
	}
747020
def delete_namespace(self):
        '''

        '''
        conn = redis.Redis(connection_pool=self.pool)
        keys = conn.keys("%s*" % self._namespace_str)
        for i in xrange(0, len(keys), 10000):
            conn.delete(*keys[i:i+10000])
        logger.debug('tearing down %r', self._namespace_str)
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);
	}
607017
public static base_responses disable(nitro_service client, dnsnameserver resources[]) throws Exception {
		base_responses result = null;
		if (resources != null && resources.length > 0) {
			dnsnameserver disableresources[] = new dnsnameserver[resources.length];
			for (int i=0;i<resources.length;i++){
				disableresources[i] = new dnsnameserver();
				disableresources[i].ip = resources[i].ip;
				disableresources[i].dnsvservername = resources[i].dnsvservername;
			}
			result = perform_operation_bulk_request(client, disableresources,"disable");
		}
		return result;
	}
316846
def purge(self, name=None):
        
        self.disconnect(name)

        if name in self._connections:
            del self._connections[name]
578732
public void deleteNamespace(String namespaceId) {

        DeleteNamespaceRequest deleteNamespaceRequest = new DeleteNamespaceRequest().withId(namespaceId);
        getDiscoveryClient().deleteNamespace(deleteNamespaceRequest);

    }
1179594
function removeServer(provider) {
        var i;
        for (i = 0; i < _serverProviders.length; i++) {
            if (provider === _serverProviders[i]) {
                _serverProviders.splice(i, 1);
            }
        }
    }
1339084
public static base_response delete(nitro_service client, String keyname) throws Exception {
		dnskey deleteresource = new dnskey();
		deleteresource.keyname = keyname;
		return deleteresource.delete_resource(client);
	}
336726
private void destroyEndpointMBeans() {
        for (Map.Entry<String, ServiceRegistration<DynamicMBean>> mbean : endpointMBeans.entrySet()) {
            String mbeanName = mbean.getKey();
            endpointMBeans.remove(mbeanName);
            mbean.getValue().unregister();
        }
    }
1131570
public static base_responses delete(nitro_service client, String serverip[]) throws Exception {
		base_responses result = null;
		if (serverip != null && serverip.length > 0) {
			ntpserver deleteresources[] = new ntpserver[serverip.length];
			for (int i=0;i<serverip.length;i++){
				deleteresources[i] = new ntpserver();
				deleteresources[i].serverip = serverip[i];
			}
			result = delete_bulk_request(client, deleteresources);
		}
		return result;
	}
956363
public static base_response disable(nitro_service client, dnsnameserver resource) throws Exception {
		dnsnameserver disableresource = new dnsnameserver();
		disableresource.ip = resource.ip;
		disableresource.dnsvservername = resource.dnsvservername;
		return disableresource.perform_operation(client,"disable");
	}
1011208
public static base_responses delete(nitro_service client, dnsaddrec resources[]) throws Exception {
		base_responses result = null;
		if (resources != null && resources.length > 0) {
			dnsaddrec deleteresources[] = new dnsaddrec[resources.length];
			for (int i=0;i<resources.length;i++){
				deleteresources[i] = new dnsaddrec();
				deleteresources[i].hostname = resources[i].hostname;
				deleteresources[i].ipaddress = resources[i].ipaddress;
			}
			result = delete_bulk_request(client, deleteresources);
		}
		return result;
	}
795944
public void cleanup(){

        synchronized (mBeanServer) {

            for (ObjectName beanName : beansNames)
                try {
                    mBeanServer.unregisterMBean(beanName);
                } catch (InstanceNotFoundException ignored) {
                    // Bean previously been unregistered
                } catch (MBeanRegistrationException e) {
                    log.warn("Exception thrown while trying to clean up registered MBeans", e);
                }

        }

    }