Unbind
The unbind
API is used to unlink third-party channels from an Player Network account. Unlinking is restricted on LI PASS.
Request Parameter
Parameter | Type | Description | Remark |
---|---|---|---|
token | string | Player Network SDK user authorization token Length: 40 bytes, see Token | Required |
openid | string | Player Network SDK unique user ID The default value is 64-bit unsigned integer string, 32-bit string is also supported. | Required |
oauth_channelid | number | Channel information of the channel that called the unbind API.See Channel Information for more information. | Required |
unbind_channelid | number | Channel information of the unlinked channel. See Channel Information for more information. | Required |
Request Sample
accountApi.unbind({
openid:'xxx',
token:'xxxx',
oauth_channelid:4,
unbind_channelid:9,
}).then(
(res) => {
console.log(res);
}
);
Response Parameter
Parameter | Type | Description |
---|---|---|
ret | number | Return code 0: Request success, parse related returned field information. !=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
{
ret: 0,
msg: "success",
seq: "1639105985-1191493130-031434-0000571640",
}