code: public void postDoNotUseArtifact(final String gavc, final Boolean doNotUse, final String user, final String password) throws GrapesCommunicationException, AuthenticationException {
          final Client client = getClient(user, password);
          final WebResource resource = client.resource(serverURL).path(RequestUtils.getDoNotUseArtifact(gavc));
          final ClientResponse response = resource.queryParam(ServerAPI.DO_NOT_USE, doNotUse.toString())
                  .accept(MediaType.APPLICATION_JSON).post(ClientResponse.class);
  
          client.destroy();
          if(ClientResponse.Status.OK.getStatusCode() != response.getStatus()){
              final String message = "Failed to post do not use artifact";
              if(LOG.isErrorEnabled()) {
                  LOG.error(String.format(HTTP_STATUS_TEMPLATE_MSG, message, response.getStatus()));
              }
              throw new GrapesCommunicationException(message, response.getStatus());
          }
      }
docs: Post boolean flag "DO_NOT_USE" to an artifact
  
  @param gavc
  @param doNotUse
  @param user
  @param password
  @throws GrapesCommunicationException