static async apiDeleteGroup (req, res, next) {
    try {
      const { body: { _source: parliament } } = await Parliament.getParliament();

      let index = 0;
      let foundGroup = false;
      for (const group of parliament.groups) {
        if (group.id === req.params.id) {
          parliament.groups.splice(index, 1);
          foundGroup = true;
          break;
        }
        ++index;
      }

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

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

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