static async apiUpdateGroup (req, res, next) {
    if (!ArkimeUtil.isString(req.body.title)) {
      return res.serverError(422, 'A group must have a title.');
    }

    if (req.body.description && !ArkimeUtil.isString(req.body.description)) {
      return res.serverError(422, 'A group must have a string description.');
    }

    try {
      const { body: { _source: parliament } } = await Parliament.getParliament();

      let foundGroup = false;
      for (const group of parliament.groups) {
        if (group.id === req.params.id) {
          group.title = req.body.title;
          group.description = req.body.description;
          foundGroup = true;
          break;
        }
      }

      if (!foundGroup) {
        return res.serverError(500, 'Unable to find group to edit.');
      }

      await Parliament.setParliament(parliament);
      res.json({ success: true, text: 'Successfully updated the group.' });
    } catch (e) {
      if (ArkimeConfig.debug) {
        console.log('Error updating group', e);
      }
      res.serverError(500, 'Unable to update group.');
    }
  }
PUT - /api/groups/:id

Updates a group in the parliament. Requires parliamentAdmin role.
@name /groups/:id
@param {string} id - The id of the group to update.
@param {Group} group - The updated group.
@returns {boolean} success - Whether the operation was successful.
@returns {string} text - The success/error message to (optionally) display to the user.