deleteAccountWith

Deletes an account by ID.

Return

A pair of the deleted AccountObjects.Account and any NetworkingError.

Parameters

accountId

The ID of the account to delete.


fun deleteAccountWith(accountId: String, completionHandler: (AccountObjects.Account?, NetworkingError?) -> Unit)

Deletes an account by ID.

Parameters

accountId

The ID of the account to delete.

completionHandler

Called with the deleted AccountObjects.Account or a NetworkingError.