IntlLogout
The IntlLogout
API is used for the player to log out.
Request Parameter
Parameter | Type | Description | Remark |
---|---|---|---|
token | string | User authorization token | Required |
openid | string | User openid | Required |
channel_id | number | Channel 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
Parameter | Type | Description |
---|---|---|
ret | number | Return code 0: Request success, parse related field information being returned !=0: Request failure, check msg for the detailed return message |
msg | string | Return message |
seq | string | Sequence number of the message in the data stream |
Response Sample
{
msg: "user is logged out",
ret: 0,
seq: "1638845449-0180225310-009909-0000106697",
}