<pre>
Use this operation to delete NetScaler configuration template.
</pre>
491296
public static ns_configtemplate delete(nitro_service client, ns_configtemplate resource) throws Exception
	{
		resource.validate("delete");
		return ((ns_configtemplate[]) resource.delete_resource(client))[0];
	}
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);
	}
1057195
def delete_host_template(self, name):
    
    return host_templates.delete_host_template(self._get_resource_root(), name, self.name)
382452
protected synchronized void unsetRepertoire(RepertoireConfigService config) {
        if (TraceComponent.isAnyTracingEnabled() && tc.isEventEnabled()) {
            Tr.event(tc, "Removing repertoire: " + config.getAlias());
        }
        repertoireMap.remove(config.getAlias());
        repertoirePIDMap.remove(config.getPID());
        repertoirePropertiesMap.remove(config.getAlias());
        processConfig(repertoirePropertiesMap.remove(config.getAlias()) != null);

    }
583247
def remove_templates(self):
        
        self.hosts.remove_templates()
        self.contacts.remove_templates()
        self.services.remove_templates()
        self.servicedependencies.remove_templates()
        self.hostdependencies.remove_templates()
        self.timeperiods.remove_templates()
1223882
public static af_config_info delete(nitro_service client, af_config_info resource) throws Exception
	{
		resource.validate("delete");
		return ((af_config_info[]) resource.delete_resource(client))[0];
	}
503746
def remove(cls, resource_id, parent_id=None, grandparent_id=None,
               wait=True, timeout=None):
        """"""
        raise exception.NotSupported(feature="DELETE",
                                     context="VirtualSwitchManager")
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);
	}
1088167
def delete(self):
        

        body = client.V1DeleteOptions()

        try:
            status = self.api.delete_namespaced_service(self.name, self.namespace, body)

            logger.info(
                "Deleting Service %s in namespace: %s", self.name, self.namespace)
        except ApiException as e:
            raise ConuException(
                "Exception when calling Kubernetes API - delete_namespaced_service: {}\n".format(e))

        if status.status == 'Failure':
            raise ConuException("Deletion of Service failed")
1069868
def remove_template(self, tpl):
        
        try:
            del self.templates[tpl.uuid]
        except KeyError:  # pragma: no cover, simple protection
            pass
        self.unindex_template(tpl)
198691
def delete_service(name, namespace='default', **kwargs):
    '''
    
    '''
    cfg = _setup_conn(**kwargs)

    try:
        api_instance = kubernetes.client.CoreV1Api()
        api_response = api_instance.delete_namespaced_service(
            name=name,
            namespace=namespace)

        return api_response.to_dict()
    except (ApiException, HTTPError) as exc:
        if isinstance(exc, ApiException) and exc.status == 404:
            return None
        else:
            log.exception(
                'Exception when calling CoreV1Api->delete_namespaced_service'
            )
            raise CommandExecutionError(exc)
    finally:
        _cleanup(**cfg)
358066
@RequestMapping(value = "configurations/{name:.*}", method = RequestMethod.DELETE)
    @ResponseStatus(HttpStatus.NO_CONTENT)
    public Ack deleteConfiguration(@PathVariable String name) {
        svnConfigurationService.deleteConfiguration(name);
        return Ack.OK;
    }
763121
def delete_template(server, token, template):
    
    method = 'DELETE'
    uri = 'https://' + server + '/template/' + template
    connect.tonicdns_client(uri, method, token, data=False)
618804
public void installationTemplate_templateName_partitionScheme_schemeName_DELETE(String templateName, String schemeName) throws IOException {
		String qPath = "/me/installationTemplate/{templateName}/partitionScheme/{schemeName}";
		StringBuilder sb = path(qPath, templateName, schemeName);
		exec(qPath, "DELETE", sb.toString(), null);
	}
138237
public void removeService(ServiceReference reference, Object service) {
        if (serviceRegistration != null) {
            serviceRegistration.unregister();
            serviceRegistration = null;
        }

        String alias = this.getAlias();
        ((HttpService) service).unregister(alias);
        if (servlet instanceof WebappServlet)
            ((WebappServlet)servlet).free();
        servlet = null;
    }
202083
@Override
    public String delete(EntityDeleteOperation deleter) throws ServiceException {
        try {
            return service.delete(deleter);
        } catch (UniformInterfaceException e) {
            throw processCatch(new ServiceException(e));
        } catch (ClientHandlerException e) {
            throw processCatch(new ServiceException(e));
        }
    }
564339
public void deleteTemplate(File templateFile) {
        ThymeLeafTemplateImplementation template = getTemplateByFile(templateFile);
        if (template != null) {
            deleteTemplate(template);
        }
    }