docs: @RequestMapping(value = "api/servergroup/{id}", method = RequestMethod.DELETE)
      public
      @ResponseBody
      List<ServerGroup> deleteServerGroup(Model model,
                                               @PathVariable int id,
                                               @RequestParam(value = "profileId", required = false) Integer profileId,
                                               @RequestParam(value = "clientUUID", required = false) String clientUUID,
                                               @RequestParam(value = "profileIdentifier", required = false) String profileIdentifier) throws Exception {
          if (profileId == null && profileIdentifier == null) {
              throw new Exception("profileId required");
          }
          if (profileId == null) {
              profileId = ProfileService.getInstance().getIdFromName(profileIdentifier);
          }
  
          int clientId = ClientService.getInstance().findClient(clientUUID, profileId).getId();
  
          ServerGroup group = ServerRedirectService.getInstance().getServerGroup(id, profileId);
          ServerRedirectService.getInstance().deleteServerGroup(id);
          return ServerRedirectService.getInstance().tableServerGroups(clientId);
      }