Using managementClient deleteUser method returns nothing:
management.deleteUser({id: userID}, (err) => {
if(err){
// Handle error.
}
// User deleted.
return true
});
If a user does exist, it will delete the user but never return anything. If I attempt to delete a user that does not exist, it never returns an error or anything either.
Link to the documentation: Delete User
Hi @User12341 ,
Welcome to the Auth0 Community!
I understand that you are encountering issues with the Node Management API Client, specifically with deleting a user.
I have just tested this myself and can confirm that this issue is observed on my end.
Next, I found that a related issue has also been reported by another user on Github: https://github.com/auth0/node-auth0/issues/673
In this situation, I recommend that you open a new issue in Github to track the progress of the solution.
Please let me know if there’s anything else I can do to help.
Thank you.
system
Closed
December 6, 2021, 11:47pm
4
This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.