docs: @RequestMapping(value = "/api/history/{profileIdentifier}", method = RequestMethod.DELETE)
      public
      @ResponseBody
      HashMap<String, Object> deleteHistory(Model mode, @PathVariable String profileIdentifier,
                                            @RequestParam(value = "clientUUID", defaultValue = Constants.PROFILE_CLIENT_DEFAULT_ID) String clientUUID) throws Exception {
          Integer profileId = ControllerUtils.convertProfileIdentifier(profileIdentifier);
          HistoryService.getInstance().clearHistory(profileId, clientUUID);
          logger.info("Called");
          History[] histories = new History[0];
          HashMap<String, Object> returnData = new HashMap<String, Object>();
          returnData.put("history", histories);
  
          return returnData;
      }