code: @DELETE
      @Path("status")
      public Response deleteStatusUpdate(
              @HeaderParam(PeerEurekaNode.HEADER_REPLICATION) String isReplication,
              @QueryParam("value") String newStatusValue,
              @QueryParam("lastDirtyTimestamp") String lastDirtyTimestamp) {
          try {
              if (registry.getInstanceByAppAndId(app.getName(), id) == null) {
                  logger.warn("Instance not found: {}/{}", app.getName(), id);
                  return Response.status(Status.NOT_FOUND).build();
              }
  
              InstanceStatus newStatus = newStatusValue == null ? InstanceStatus.UNKNOWN : InstanceStatus.valueOf(newStatusValue);
              boolean isSuccess = registry.deleteStatusOverride(app.getName(), id,
                      newStatus, lastDirtyTimestamp, "true".equals(isReplication));
  
              if (isSuccess) {
                  logger.info("Status override removed: {} - {}", app.getName(), id);
                  return Response.ok().build();
              } else {
                  logger.warn("Unable to remove status override: {} - {}", app.getName(), id);
                  return Response.serverError().build();
              }
          } catch (Throwable e) {
              logger.error("Error removing instance's {} status override", id);
              return Response.serverError().build();
          }
      }
docs: Removes status override for an instance, set with
  {@link #statusUpdate(String, String, String)}.
  
  @param isReplication
  a header parameter containing information whether this is
  replicated from other nodes.
  @param lastDirtyTimestamp
  last timestamp when this instance information was updated.
  @return response indicating whether the operation was a success or
  failure.