code: @RequestMapping(value = "/api/path/{pathId}", method = RequestMethod.DELETE)
      @ResponseBody
      public HashMap<String, Object> deletePath(Model model, @PathVariable int pathId,
                                                @RequestParam(value = "clientUUID", defaultValue = Constants.PROFILE_CLIENT_DEFAULT_ID) String clientUUID) throws Exception {
          EndpointOverride currentPath = PathOverrideService.getInstance().getPath(pathId);
          int profileId = currentPath.getProfileId();
  
          // remove the path
          logger.info("Removing path {}", pathId);
          PathOverrideService.getInstance().removePath(pathId);
  
          // return the remaining data
          List<EndpointOverride> paths = PathOverrideService.getInstance().getPaths(profileId, clientUUID, null);
  
          return Utils.getJQGridJSON(paths, "paths");
      }
docs: Deletes a path and returns the list of paths for the profile the path belonged to
  
  @param model
  @param pathId
  @return