Use deleteUser() without verification?

Is it possible to use the deleteUser() method without specifying sendDeleteAccountVerification? I am constructing a simple demo app and would like this use this method without this.
5 Replies
bekacru
bekacru•5mo ago
if you don't provide sendDeleteAccountVerification it should by default delete the user without verification
Json 👺
Json 👺OP•5mo ago
I get the following error, however the session appears to be fresh since I can perform other actions. Do you have a suggested strategy for debugging this?
{
//...
"error": {
"message": "Session is not fresh",
"code": "SESSION_IS_NOT_FRESH",
"status": 403,
"statusText": "Forbidden"
}
}
{
//...
"error": {
"message": "Session is not fresh",
"code": "SESSION_IS_NOT_FRESH",
"status": 403,
"statusText": "Forbidden"
}
}
bekacru
bekacru•5mo ago
meaning you have to re authenticate the user. the default is 5mins. to disable this you can pass session.freshAge to 0
Json 👺
Json 👺OP•5mo ago
You're the best thanks
Unknown User
Unknown User•5mo ago
Message Not Public
Sign In & Join Server To View

Did you find this page helpful?