Skip to main content

QueryDeleteStatus

The queryDeleteStatus is used to check the status of account deletion through DMCS (whether the account deletion is in the cooling-off period).

Request Parameter

ParameterTypeDescriptionRemark
openIDstringPlayer Network SDK unique user ID
Default value is 64-bit unsigned integer string, 32-bit string is also supported.
Optional
uIDstringCustom account UIDOptional

Request Sample

dsrApi.queryDeleteStatus(
{
openID:'136...152',
uID:'339...025',
}
).then((res) => {
console.log(res);
});

Response Parameter

ParameterTypeDescription
retnumberReturn code
0: Request success, parse related returned field information.
!=0: Request failure, check msg for the detailed return message.
msgstringReturn message
created_atint64The latest request creation timestamp
If status is 0, created_at is 0.
destroyed_atstringThe actual account deletion timestamp
If status is not 2, destroyed_at is 0.
seqstringSequence number of the message in the data stream
statusnumberAccount status
0: No record or the account deletion is revoked
1: Cooling-off period
2: Account deletion completed
3: Deleting account
4: Account deletion failed
target_destroy_atstringThe target account deletion timestamp
If status is 0, target_destroy_at is 0.

Response Sample

{
created_at: "0",
destroyed_at: "0",
msg: "",
ret: 0,
seq: "1640266743-...-0010429252",
status: 0,
target_destroy_at: "0",
}