code: public void deleteLicense(final String licName) {
          final DbLicense dbLicense = getLicense(licName);
  
          repoHandler.deleteLicense(dbLicense.getName());
  
          final FiltersHolder filters = new FiltersHolder();
          final LicenseIdFilter licenseIdFilter = new LicenseIdFilter(licName);
          filters.addFilter(licenseIdFilter);
  
          for (final DbArtifact artifact : repoHandler.getArtifacts(filters)) {
              repoHandler.removeLicenseFromArtifact(artifact, licName, this);
          }
      }
docs: Delete a license from the repository
  
  @param licName The name of the license to remove