code: @RequestMapping(value = "api/group/{groupId}", method = RequestMethod.DELETE)
      public
      @ResponseBody
      List<Group> removeGroup(Model model,
                                   @PathVariable int groupId) {
          pathOverrideService.removeGroup(groupId);
          return pathOverrideService.findAllGroups();
      }
docs: Remove a group from the groups page
  
  @param model
  @param groupId
  @return