deleteAccountAssociation method

Future<void> deleteAccountAssociation({
  1. required String accountAssociationId,
})

Remove a third-party account association for an end user.

May throw AccessDeniedException. May throw InternalServerException. May throw ResourceNotFoundException. May throw ServiceUnavailableException. May throw ThrottlingException. May throw ValidationException.

Parameter accountAssociationId : The unique identifier of the account association to be deleted.

Implementation

Future<void> deleteAccountAssociation({
  required String accountAssociationId,
}) async {
  await _protocol.send(
    payload: null,
    method: 'DELETE',
    requestUri:
        '/account-associations/${Uri.encodeComponent(accountAssociationId)}',
    exceptionFnMap: _exceptionFns,
  );
}