logoutAccount

Logout the user and remove the account. This is a protected operation, so the SDK must be unlocked before calling this method.

Parameters

userId

Futurae account's user id that will be logged out.

See also

Throws

if the SDK is locked.

if the SDK is currently blocked by an operation updating DB accounts

if the SDK cannot find the account from the provided user id.

if the SDK is not initialized correctly.

if the SDK cannot access necessary cryptographic material or perform cryptographic operations

if the API request fails. Refer to FTApiException subtypes for more specific errors.