updateSettingsCommunicationProfile function

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

PATCH /api/{api_version}/settings/communication_profiles/{communication_profile_id}

Update a communication profile's fields and channel settings.

No typed view: no 2xx response was recorded for it. Read response.map.

Implementation

Future<ApiResponse<Object?>> updateSettingsCommunicationProfile(
  ExsitedClient client,
  Object communicationProfileId,
  Object payload, {
  bool? raiseOnError,
  String? responseFormat,
}) =>
    client.sendPatchRequest(
        CommunicationProfilesUrls.settingsCommunicationProfile,
        pathParams: {'communication_profile_id': communicationProfileId},
        jsonBody: payload,
        raiseOnError: raiseOnError,
        responseFormat: responseFormat);