static async apiUpdateSettings (req, res, next) {
    if (!req.body.settings?.general) {
      return res.serverError(422, 'You must provide the settings to update.');
    }

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

      // save general settings
      for (const s in req.body.settings.general) {
        let setting = req.body.settings.general[s];

        if (s === 'hostname') { // hostname must be a string
          if (!ArkimeUtil.isString(setting)) {
            return res.serverError(422, 'hostname must be a string.');
          }
        } else if (s === 'wiseUrl' || s === 'cont3xtUrl') { // urls must be strings or empty
          if (setting && !ArkimeUtil.isString(setting)) {
            return res.serverError(422, `${s} must be a string.`);
          }
        } else if (s === 'includeUrl') { // include url must be a bool
          if (typeof setting !== 'boolean') {
            return res.serverError(422, 'includeUrl must be a boolean.');
          }
        } else { // all other settings are numbers
          if (isNaN(setting)) {
            return res.serverError(422, `${s} must be a number.`);
          } else {
            setting = parseInt(setting);
          }
        }

        parliament.settings.general[s] = setting;
      }

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

Updates the parliament settings. Requires parliamentAdmin role.
@name /parliament/settings
@returns {boolean} success - Whether the operation was successful.
@returns {string} text - The success/error message to (optionally) display to the user.