code: @POST
      @Path("/{gavc}" + ServerAPI.SET_DO_NOT_USE)
      public Response postDoNotUse(@Auth final DbCredential credential,
                                   @PathParam("gavc") final String gavc,
                                   @QueryParam(ServerAPI.DO_NOT_USE) final BooleanParam doNotUse,
                                   final String commentText){
          if(!credential.getRoles().contains(AvailableRoles.ARTIFACT_CHECKER)){
              throw new WebApplicationException(Response.status(Response.Status.UNAUTHORIZED).build());
          }
  
          if(LOG.isInfoEnabled()) {
              LOG.info(String.format("Got a add \"DO_NOT_USE\" request [%s]", gavc));
          }
  
          // Set comment for artifact if available
          getCommentHandler().store(gavc,
                  doNotUse.get() ? "mark as DO_NOT_USE" : "cleared DO_NOT_USE flag",
                  commentText,
                  credential,
                  DbArtifact.class.getSimpleName());
  
          getArtifactHandler().updateDoNotUse(gavc, doNotUse.get());
  
          return Response.ok("done").build();
      }
docs: Add "DO_NOT_USE" flag to an artifact
  
  @param credential DbCredential
  @param gavc String
  @param doNotUse boolean
  @return Response