# Node managementClient deleteUser return nothing

**URL:** <https://community.auth0.com/t/node-managementclient-deleteuser-return-nothing/72093>\
**Category:** Get Help\
**Tags:** node-auth0\
**Created:** [October 26, 2021, 5:24pm UTC](https://community.auth0.com/t/node-managementclient-deleteuser-return-nothing/72093 "2021-10-26T17:24:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![User12341](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/user12341/32/13075_2.png) [@User12341](https://community.auth0.com/u/User12341)\
**Post date:** [October 26, 2021, 5:24pm UTC](https://community.auth0.com/t/node-managementclient-deleteuser-return-nothing/72093/1 "2021-10-26T17:24:36Z")

</div>

Using managementClient deleteUser method returns nothing:

```auto
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](https://auth0.github.io/node-auth0/module-management.ManagementClient.html#deleteUser)

---

<div class="post-metadata">

**Author:** ![rueben.tiow](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rueben.tiow/32/11646_2.png) [@rueben.tiow](https://community.auth0.com/u/rueben.tiow)\
**Post date:** [October 27, 2021, 12:09am UTC](https://community.auth0.com/t/node-managementclient-deleteuser-return-nothing/72093/3 "2021-10-27T00:09:50Z")

</div>

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](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.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [December 6, 2021, 11:47pm UTC](https://community.auth0.com/t/node-managementclient-deleteuser-return-nothing/72093/4 "2021-12-06T23:47:41Z")

</div>

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.
