Unmap
The unmap
API is used to dissociate third-party accounts from the custom account.
Request Parameter
Parameter | Type | Description | Remark |
---|---|---|---|
token | string | User authorization token for custom account Length: 40 bytes, see Token | Required |
openid | string | Custom account UID | Required |
unmap_channelid | number | Channel ID of the unmapped channel For more information, see Login Channel and ChannelID Relationship. | Required |
Request Sample
accountApi.unmap({
token:'vOrEZi@nAJ8CZICmY...WS7JMEu7Phiu_r7HfcHuQ==',
openid:'49...91',
unmap_channelid:28
}).then(
(res) => {
console.log(res);
}
);
Response Parameter
Parameter | Type | Description |
---|---|---|
ret | number | Return code 0: Request success !=0: Request failure, see msg for 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",
}