code: public void deleteLabel(Object projectIdOrPath, String name) throws GitLabApiException {
  
          GitLabApiForm formData = new GitLabApiForm().withParam("name", name, true);
          Response.Status expectedStatus = (isApiVersion(GitLabApi.ApiVersion.V3) ? Response.Status.OK : Response.Status.NO_CONTENT);
          delete(expectedStatus, formData.asMap(), "projects", getProjectIdOrPath(projectIdOrPath), "labels");
      }
docs: Delete the specified label
  
  @param projectIdOrPath the project in the form of an Integer(ID), String(path), or Project instance
  @param name the name for the label
  @throws GitLabApiException if any exception occurs