deleteAccountById abstract method

Future<AccountV1?> deleteAccountById(
  1. String? correlationId,
  2. String accountId
)

Deleted an account by it's unique id.

  • correlation_id (optional) transaction id to trace execution through call chain.
  • id an id of the account to be deleted Return Future that receives deleted account Throws error.

Implementation

Future<AccountV1?> deleteAccountById(String? correlationId, String accountId);