updateSettingsGeneralSettingsSecurity function

Future<ApiResponse<SettingsGeneralSettings>> updateSettingsGeneralSettingsSecurity(
  1. ExsitedClient client,
  2. Object payload, {
  3. bool? raiseOnError,
  4. String? responseFormat,
})

PATCH /api/{api_version}/settings/general_settings/security

Update the security group. Send flags as "1"/"0": the "true" the read serves is stored as false.

Implementation

Future<ApiResponse<SettingsGeneralSettings>>
    updateSettingsGeneralSettingsSecurity(
  ExsitedClient client,
  Object payload, {
  bool? raiseOnError,
  String? responseFormat,
}) =>
        client.sendPatchRequest(SettingsUrls.settingsGeneralSettingsSecurity,
            jsonBody: payload,
            raiseOnError: raiseOnError,
            responseFormat: responseFormat,
            dtoDecoder: SettingsGeneralSettings.fromMap);