Query Account Status (queryDeleteStatus)
queryDeleteState is used to check the account deletion status through DMCS (whether the account is in the silent period).
Request parameters
| Parameters | Type | Explanation | Note |
|---|---|---|---|
| openID | string | Player Network SDK unique user identifier Default is a 64-bit unsigned integer string, also supports 32-bit | Optional |
| uID | string | UID of self-managed account | Optional |
Request sample
dsrApi.queryDeleteStatus(
{
openID:'136...152',
uID:'339...025',
}
).then((res) => {
console.log(res);
});
Response parameters
| Parameters | Type | Explanation |
|---|---|---|
| ret | number | Return code 0: Request successful !=0: Request failed, refer to msg for detailed results |
| msg | string | Result Explanation |
| created_at | int64 | Timestamp when cancellation was created If status is 0, created_at is 0 |
| destroyed_at | string | Actual account deletion timestamp If status is not 2, destroyed_at is 0. |
| seq | string | Data Stream Message Serial Number |
| status | number | Account status 0: No record or account deletion revoked 1: Cooling period 2: Account deletion completed 3: Deleting account 4: Account deletion failed |
| target_destroy_at | string | 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",
}