<pre>
Use this operation to delete snmp trap destination.
</pre>
543464
public static snmp_trap delete(nitro_service client, snmp_trap resource) throws Exception
	{
		resource.validate("delete");
		return ((snmp_trap[]) resource.delete_resource(client))[0];
	}
723799
public void deleteSeen(SITransaction simpTran)
  throws SISessionUnavailableException, SISessionDroppedException,
         SIIncorrectCallException,
         SIErrorException
  {
    if (TraceComponent.isAnyTracingEnabled() && CoreSPILockedMessageEnumeration.tc.isEntryEnabled())
      SibTr.entry(CoreSPILockedMessageEnumeration.tc, "deleteSeen", 
        new Object[] { this, simpTran });        
      
    deleteCurrent(simpTran);
    
    if (TraceComponent.isAnyTracingEnabled() && CoreSPILockedMessageEnumeration.tc.isEntryEnabled())
      SibTr.exit(CoreSPILockedMessageEnumeration.tc, "deleteSeen");
  }
822763
public void removeFromMoving(InetAddress endpoint)
    {
        assert endpoint != null;

        lock.writeLock().lock();
        try
        {
            for (Pair<Token, InetAddress> pair : movingEndpoints)
            {
                if (pair.right.equals(endpoint))
                {
                    movingEndpoints.remove(pair);
                    break;
                }
            }

            invalidateCachedRings();
        }
        finally
        {
            lock.writeLock().unlock();
        }
    }
400103
public static base_response unset(nitro_service client, snmpalarm resource, String[] args) throws Exception{
		snmpalarm unsetresource = new snmpalarm();
		unsetresource.trapname = resource.trapname;
		return unsetresource.unset_resource(client,args);
	}
955702
private void deleteSystemDestination(BaseDestinationHandler destinationHandler) throws SINotPossibleInCurrentConfigurationException, SIResourceException
    {
        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
            SibTr.entry(tc, "deleteSystemDestination", new Object[] { destinationHandler });

        synchronized (destinationHandler)
        {
            if (destinationHandler.isToBeDeleted() || !destinationHandler.isSystem())
            {
                // Treat as if the destination does not exist.
                if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
                    SibTr.exit(
                               tc,
                               "deleteSystemDestination",
                               "Destination not found as destination is to be deleted, or is system");

                throw new SIMPNotPossibleInCurrentConfigurationException(
                                nls_cwsik.getFormattedMessage(
                                                              "DELETE_SYSTEM_DEST_ERROR_CWSIP0046",
                                                              new Object[] { destinationHandler.getName(), messageProcessor.getMessagingEngineName() }, null));
            }

            // Set the deletion flag in the DH persistently.
            ExternalAutoCommitTransaction transaction = txManager.createAutoCommitTransaction();

            destinationHandler.setToBeDeleted(true);
            destinationIndex.delete(destinationHandler);
            try
            {
                destinationHandler.requestUpdate(transaction);
            } catch (MessageStoreException e)
            {
                // MessageStoreException shouldn't occur so FFDC.
                FFDCFilter.processException(
                                            e,
                                            "com.ibm.ws.sib.processor.impl.DestinationManager.deleteSystemDestination",
                                            "1:5476:1.508.1.7",
                                            this);

                SibTr.exception(tc, e);
                if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
                    SibTr.exit(tc, "deleteSystemDestination", "SIResourceException");
                throw new SIResourceException(e);
            }

            // Close all connections to the localisation
            // Ensure that before calling these methods, the destination is marked
            // to-be-deleted or is marked as deleted, to avoid any new producers and
            // consumers attaching after we have closed the currently attached ones.
            destinationHandler.closeProducers();
            destinationHandler.closeConsumers();

            //Add all the localisations to the set of those requiring clean-up
            destinationHandler.addAllLocalisationsForCleanUp();

            //Clear the set of ME's that localise the destination
            destinationHandler.clearLocalisingUuidsSet();

            startAsynchDeletion();

        }
        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
            SibTr.exit(tc, "deleteSystemDestination");
    }
1127399
public static base_responses delete(nitro_service client, snmptrap resources[]) throws Exception {
		base_responses result = null;
		if (resources != null && resources.length > 0) {
			snmptrap deleteresources[] = new snmptrap[resources.length];
			for (int i=0;i<resources.length;i++){
				deleteresources[i] = new snmptrap();
				deleteresources[i].trapclass = resources[i].trapclass;
				deleteresources[i].trapdestination = resources[i].trapdestination;
			}
			result = delete_bulk_request(client, deleteresources);
		}
		return result;
	}
1306468
def deletePortMapping(nport,proto)
            checkProto(proto)
            checkPort(nport)
            joinThread()
            r = MiniUPnP.UPNP_DeletePortMapping(@urls.controlURL,@data.servicetype,
                                               nport.to_s,proto)
            if r != 0 then
                raise UPnPException.new , "Failed delete mapping: #{code2error(r)}."
            end
        end
272416
def remove(self, sid):
        
        self.dbcur.execute(SQL_SENSOR_DEL, (sid,))
        self.dbcur.execute(SQL_TMPO_DEL, (sid,))
86965
public static boolean deleteVM(String hostIpPort, String id) throws TargetException {

		if(id.startsWith("urn:uuid:")) id = id.substring(9);
		String ret = null;
		URL url = null;
		try {
			CookieHandler.setDefault(new CookieManager(null, CookiePolicy.ACCEPT_ALL));
			url = new URL("http://" + hostIpPort + "/" + id);
		} catch (MalformedURLException e) {
			throw new TargetException(e);
		}

		HttpURLConnection httpURLConnection = null;
		DataInputStream in = null;
		try {
			httpURLConnection = (HttpURLConnection) url.openConnection();
			httpURLConnection.setRequestMethod("DELETE");
			httpURLConnection.setRequestProperty("Content-Type", "text/occi");
			httpURLConnection.setRequestProperty("Accept", "*/*");

			in = new DataInputStream(httpURLConnection.getInputStream());
			ByteArrayOutputStream out = new ByteArrayOutputStream();
			Utils.copyStreamSafely(in, out);
			ret = out.toString( "UTF-8" );

		} catch (IOException e) {
			throw new TargetException(e);

		}  finally {
			Utils.closeQuietly(in);
			if (httpURLConnection != null) {
				httpURLConnection.disconnect();
			}
		}

		return ("OK".equalsIgnoreCase(ret));
	}
366889
public static snmp_user delete(nitro_service client, snmp_user resource) throws Exception
	{
		resource.validate("delete");
		return ((snmp_user[]) resource.delete_resource(client))[0];
	}
834137
public synchronized void destroyForPort(int port)
   {
      synchronized(portMap)
      {
         UndertowServerEngine ref = portMap.remove(port);
         if (ref != null)
         {
            if (LOG.isDebugEnabled())
            {
               LOG.debug("Stopping HttpServer Engine on port " + port + ".");
            }
            try
            {
               ref.stop();
            }
            catch (Exception e)
            {
               LOG.warn("", e);
            }
         }
      }
   }
838374
public static base_response delete(nitro_service client) throws Exception {
		locationfile deleteresource = new locationfile();
		return deleteresource.delete_resource(client);
	}
1127126
public static base_responses delete(nitro_service client, location resources[]) throws Exception {
		base_responses result = null;
		if (resources != null && resources.length > 0) {
			location deleteresources[] = new location[resources.length];
			for (int i=0;i<resources.length;i++){
				deleteresources[i] = new location();
				deleteresources[i].ipfrom = resources[i].ipfrom;
				deleteresources[i].ipto = resources[i].ipto;
			}
			result = delete_bulk_request(client, deleteresources);
		}
		return result;
	}
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);
	}
1186862
public void discard()
    {
        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
            Tr.entry(tc, "MEF.discard");

        if (ivInvocationHandlerPool != null) // d423445.1
        {
            synchronized (ivStateLock)
            {
                --ivNumberOfMessageEndpointsCreated;
            }
        }

        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
            Tr.exit(tc, "MEF.discard");

    }
568669
public static base_response delete(nitro_service client, String ipv6address) throws Exception {
		nsip6 deleteresource = new nsip6();
		deleteresource.ipv6address = ipv6address;
		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];
	}