removeAccount(accountId:completely:)

Remove stored data for an account

func removeAccount(accountId: String, completely: Bool) async -> Bool

Parameters

accountId

the account to remove

completely

true to delete all account data, false to keep recoverable state

Return Value

Promise resolving to true when removal succeeded