Delete a single tag

@param request the {@link RemoveTagRequest} containing entityTypeId, attributeName, relationIRI
and ontologyTermIRI
165381
@PostMapping("/deletesingletag")
  public @ResponseBody void deleteSingleTag(@Valid @RequestBody RemoveTagRequest request) {
    ontologyTagService.removeAttributeTag(
        request.getEntityTypeId(),
        request.getAttributeName(),
        request.getRelationIRI(),
        request.getOntologyTermIRI());
  }
281099
function (request) {
            var iFrame = request.iFrame;
            if (iFrame) {
                var domEltToRemove = request.iFrameContainer || iFrame;
                domEltToRemove.parentNode.removeChild(domEltToRemove);
                // avoid leaks:
                request.iFrameContainer = null;
                request.iFrame = null;
                iFrame.onload = null;
                iFrame.onreadystatechange = null;
            }
            delete this._requests[request.id];
        }
1035231
@DeleteMapping("/{entityTypeId}")
  @ResponseStatus(NO_CONTENT)
  public void deleteAll(@PathVariable("entityTypeId") String entityTypeId) {
    dataService.deleteAll(entityTypeId);
  }
1236639
public void deletePipeline(DeletePipelineRequest request) {
        checkNotNull(request, "The parameter request should NOT be null.");
        checkStringNotEmpty(request.getPipelineName(), 
                "The parameter pipelineName should NOT be null or empty string.");
        InternalRequest internalRequest =
                createRequest(HttpMethodName.DELETE, request, PIPELINE, request.getPipelineName());

        invokeHttpClient(internalRequest, CreatePipelineResponse.class);
    }
908088
synchronized void unregisterRequest(HttpRequest request) {
		assertTrue(this == request.requestManager);
		boolean removed = activeRequests.remove(request);
		assertTrue(removed, "Attempted to unregister missing request: %s", request);

		if (removed) {
			notifyRequestFinished(request);
		}
	}
917303
public void deleteSecurityGroup(DeleteSecurityGroupRequest request) {
        checkNotNull(request, "request should not be null.");
        checkStringNotEmpty(request.getSecurityGroupId(), "request securityGroupId should not be empty.");
        InternalRequest internalRequest =
                this.createRequest(request, HttpMethodName.DELETE, SECURITYGROUP_PREFIX, request.getSecurityGroupId());
        invokeHttpClient(internalRequest, AbstractBceResponse.class);
    }
918884
public void deletePreset(DeletePresetRequest request) {
        checkNotNull(request, "The parameter request should NOT be null.");
        checkStringNotEmpty(request.getPresetName(), "The parameter presetName should NOT be null or empty string.");
        InternalRequest internalRequest =
                createRequest(HttpMethodName.DELETE, request, PRESET, request.getPresetName());

        invokeHttpClient(internalRequest, DeletePresetResponse.class);
    }
449182
private void handleSelectionRequest(final Request request) {
		String[] paramValue = request.getParameterValues(getId() + ".selected");

		if (paramValue == null) {
			paramValue = new String[0];
		}

		String[] selectedRows = removeEmptyStrings(paramValue);
		List<Integer> oldSelections = getSelectedRows();
		List<Integer> newSelections;

		boolean singleSelect = SelectMode.SINGLE.equals(getSelectMode());

		if (getDataModel().getRowCount() == 0) {
			newSelections = new ArrayList<>();
			selectedRows = new String[0];
		} else if (getPaginationMode() == PaginationMode.NONE
				|| getPaginationMode() == PaginationMode.CLIENT
				|| oldSelections == null) {
			newSelections = new ArrayList<>(selectedRows.length);
		} else if (singleSelect && selectedRows.length > 0) {
			// For single-select, we need to remove the old entries
			newSelections = new ArrayList<>(1);
		} else {
			// For multi-select, we need to entries for the current page only
			newSelections = new ArrayList<>(oldSelections);

			int startRow = getCurrentPageStartRow();
			int endRow = getCurrentPageEndRow();
			newSelections.removeAll(getRowIds(startRow, endRow));
		}

		for (String selectedRow : selectedRows) {
			try {
				newSelections.add(Integer.parseInt(selectedRow));

				if (singleSelect) {
					break;
				}
			} catch (NumberFormatException e) {
				LOG.warn("Invalid row id for selection: " + selectedRow);
			}
		}

		setSelectedRows(newSelections);

		// If there is a selection change action specified, it may need to be fired
		Action selectionChangeAction = getSelectionChangeAction();

		if (selectionChangeAction != null && !newSelections.equals(oldSelections)) {
			selectionChangeAction.execute(new ActionEvent(this, "selection"));
		}
	}
875127
public function destroy(TagRequest $request, Tag $tag)
    {
        try {

            $tag->delete();
            return $this->response->message(trans('messages.success.deleted', ['Module' => trans('blog::tag.name')]))
                ->code(202)
                ->status('success')
                ->url(guard_url('blog/tag/0'))
                ->redirect();

        } catch (Exception $e) {

            return $this->response->message($e->getMessage())
                ->code(400)
                ->status('error')
                ->url(guard_url('blog/tag/' . $tag->getRouteKey()))
                ->redirect();
        }

    }
96809
public void deleteObject(DeleteObjectRequest request) {
        checkNotNull(request, "request should not be null.");
        assertStringNotNullOrEmpty(request.getKey(), "object key should not be null or empty");

        this.invokeHttpClient(this.createRequest(request, HttpMethodName.DELETE), BosResponse.class);
    }
157145
public static void removeScopedSessionAttr( String attrName, HttpServletRequest request )
    {
        HttpSession session = request.getSession( false );
        
        if ( session != null )
        {
            session.removeAttribute( getScopedSessionAttrName( attrName, request ) );
        }
    }
233368
public void removeTag(Reference reference, String tag) {
		getResourceFactory()
				.getApiResource("/tag/" + reference.toURLFragment())
				.queryParam("text", tag).delete();
	}
554079
public void deleteTag(GitlabProject project, String tagName) throws IOException {
        String tailUrl = GitlabProject.URL + "/" + project + GitlabTag.URL + "/" + tagName;
        retrieve().method(DELETE).to(tailUrl, Void.class);
    }
940599
public static Tag uri(HttpRequest request) {
		return Tag.of("uri", ensureLeadingSlash(stripUri(request.getURI().toString())));
	}
1369127
def delete_tag(self, tag):
        
        j, r = self.datacenter.request('DELETE', self.path + '/tags/' + tag)
        r.raise_for_status()
1123022
public DeleteDocumentResponse deleteDocument(DeleteDocumentRequest request) {
        checkNotNull(request, "request should not be null.");
        checkNotNull(request.getDocumentId(), "documentId should not be null.");
        InternalRequest internalRequest = this.createRequest(
                HttpMethodName.DELETE, request, DOC, request.getDocumentId());
        DeleteDocumentResponse response;
        try {
            response = this.invokeHttpClient(internalRequest, DeleteDocumentResponse.class);
        } finally {
            try {
                internalRequest.getContent().close();
            } catch (Exception e) {
                // ignore exception
            }
        }

        return response;
    }
1237001
public static Tag uri(ClientRequest request) {
		String uri = (String) request.attribute(URI_TEMPLATE_ATTRIBUTE)
				.orElseGet(() -> request.url().getPath());
		return Tag.of("uri", extractPath(uri));
	}