VerifyCodeForDeleteAccount
The verifyCodeForDeleteAccount
is used to verify the verification code for deleting user account.
Request Parameter
Parameter | Type | Description | Remark |
---|---|---|---|
openID | string | Player Network SDK unique user ID The default value is 64-bit unsigned integer string, 32-bit string is also supported. | Required |
token | string | Player Network SDK user authorization token Length: 40 bytes, see Token | Required |
region | string | ISO 3166-1 numeric code for country or region For example 156 for China, 040 for Austria | Required |
code | string | Verification code | Required |
userName | string | Unique username used for login | Optional |
uID | string | Custom account UID | Optional |
platID | string | Game platform ID | Optional |
areaID | string | Game area ID | Optional |
zoneID | string | Game zone ID | Optional |
Request Sample
dsrApi.verifyCodeForDeleteAccount(
{
openID:'136...152',
token:'2d5...f74',
region:'156',
userName:'',
code:'xxx'
uID:'339...025',
}
).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
{
msg: "success",
ret: 0,
seq: "1640314876-...-0000729568",
}