pub fn remove_account( account_id: u64, runtime: State<'_, Runtime>, ) -> Result<(), String>
Removes an account and its stored session. The account is restored if the session can’t be deleted.