Skip to main content

IntlLogout

The IntlLogout API is used for the player to log out.

Request Parameter

ParameterTypeDescriptionRemark
tokenstringUser authorization tokenRequired
openidstringUser openidRequired
channel_idnumberChannel ID
For more information, see Login Channel and ChannelID Relationship
Required

Request Sample

accountApi.intlLogout({
token: '4567xsdfsd',
openid: 'xxxxxxxx',
channel_id: 15,
}).then(
(res) => {
console.log(res);
});

Response Parameter

ParameterTypeDescription
retnumberReturn code
0: Request success, parse related field information being returned
!=0: Request failure, check msg for the detailed return message
msgstringReturn message
seqstringSequence number of the message in the data stream

Response Sample

{
msg: "user is logged out",
ret: 0,
seq: "1638845449-0180225310-009909-0000106697",
}