Skip to main content
Version: SDK-5.11.4

LogoutAccount

public BackendReturnObject LogoutAccount();

Description

Log out from the user account.
Upon successful logout, the access token and the refresh token stored in the device are deleted, and the account's auto-login function can no longer be used.

Example

Synchronous

BackendReturnObject bro = Backend.MultiCharacter.Account.LogoutAccount();

Asynchronous

Backend.MultiCharacter.Account.LogoutAccount(callback => {
// TODO
});

SendQueue

SendQueue.Enqueue(Backend.MultiCharacter.Account.LogoutAccount, callback => {
// TODO
});

ReturnCase

Success cases

When the sign-up is successful
statusCode : 204
message : Success