code: @RequestMapping(value = "api/edit/{profileId}/{pathId}", method = RequestMethod.DELETE)
      public
      @ResponseBody
      String removePathname(Model model, @PathVariable int pathId, @PathVariable int profileId) {
          editService.removePathnameFromProfile(pathId, profileId);
          return null;
      }
docs: removes a pathname from a profile
  
  @param model
  @param pathId
  @param profileId
  @return