deleteAccountCommunicationsEmail function

Future<ApiResponse<Object?>> deleteAccountCommunicationsEmail(
  1. ExsitedClient client,
  2. Object accountId,
  3. Object emailUuid, {
  4. bool? raiseOnError,
  5. String? responseFormat,
})

DELETE /api/{api_version}/accounts/{account_id}/communications/emails/{email_uuid}

No typed view. Read response.map.

Implementation

Future<ApiResponse<Object?>> deleteAccountCommunicationsEmail(
  ExsitedClient client,
  Object accountId,
  Object emailUuid, {
  bool? raiseOnError,
  String? responseFormat,
}) =>
    client.sendDeleteRequest(AccountEmailsUrls.accountCommunicationsEmail,
        pathParams: {'account_id': accountId, 'email_uuid': emailUuid},
        raiseOnError: raiseOnError,
        responseFormat: responseFormat);