code: public void removeIndividual(String individualId, String studyId) {
          // Sanity check
          if (StringUtils.isEmpty(individualId)) {
              logger.error("Individual ID {} is null or empty.", individualId);
              return;
          }
  
          VariantStudyMetadata variantStudyMetadata = getVariantStudyMetadata(studyId);
          if (variantStudyMetadata == null) {
              logger.error("Study not found. Check your study ID: '{}'", studyId);
              return;
          }
          if (variantStudyMetadata.getIndividuals() != null) {
              for (int i = 0; i < variantStudyMetadata.getIndividuals().size(); i++) {
                  if (individualId.equals(variantStudyMetadata.getIndividuals().get(i).getId())) {
                      variantStudyMetadata.getIndividuals().remove(i);
                      return;
                  }
              }
          }
      }
docs: Remove an individual (from individual ID) of a given variant study metadata (from study ID).
  
  @param individualId  Individual ID
  @param studyId       Study ID