# App Using react-native-auth0 for Authentication - How to Delete Users?

**URL:** <https://community.auth0.com/t/app-using-react-native-auth0-for-authentication-how-to-delete-users/90920>\
**Category:** Get Help\
**Tags:** react-native-auth0, users\
**Created:** [September 20, 2022, 3:41am UTC](https://community.auth0.com/t/app-using-react-native-auth0-for-authentication-how-to-delete-users/90920 "2022-09-20T03:41:37Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![anandawebservices](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/anandawebservices/32/33657_2.png) [@anandawebservices](https://community.auth0.com/u/anandawebservices)\
**Post date:** [September 20, 2022, 3:41am UTC](https://community.auth0.com/t/app-using-react-native-auth0-for-authentication-how-to-delete-users/90920/1 "2022-09-20T03:41:37Z")

</div>

Hello friends,

We have an app available on Android and iOS which uses react-native-auth0 for creating user accounts and authenticating them.

The Apple store now requires apps to allow their users to delete their account (which is fair), but I am not able to find the way to do that using the react-native-auth0 package. Am I missing something or does the endpoint call have to be done independently of the package? And if so, is there a guideline on how to get started? For context, the App was developed by the previous team (all of whom quit) and I am an absolute beginner to React Native.

Thank you kindly,  
vayu

---

<div class="post-metadata">

**Author:** ![ty.frith](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ty.frith/32/58484_2.png) [@ty.frith](https://community.auth0.com/u/ty.frith)\
**Post date:** [September 21, 2022, 11:17pm UTC](https://community.auth0.com/t/app-using-react-native-auth0-for-authentication-how-to-delete-users/90920/4 "2022-09-21T23:17:21Z")

</div>

Hey @anandawebservices welcome to the community!

> [@anandawebservices](#):
>
> Am I missing something or does the endpoint call have to be done independently of the package? And if so, is there a guideline on how to get started?

In order delete a user, you’ll need to expose an endpoint in your backend that makes a request to the Management API. You can then call your endpoint from the mobile app, using the Access Token - The topics I’ve linked to below should give you a better idea of what that looks like in practice.

> [@Allow currently logged in user of Web App to delete their account](https://community.auth0.com/t/allow-currently-logged-in-user-of-web-app-to-delete-their-account/60022):
>
> Hi, I am rookie web developer, that is developing a SPA using NextJS and React. Authentication is handled by Auth0 via ‘auth0/nextjs-auth0’. This is the only Auth0 package that I have installed. From within my web app, if the currently logged in user decides to click on ‘Delete Account’ how do I make the call to Auth0 to delete that user? In the Auth0 Dashboard \> APIs, I can see two APIs defined. Auth0 Management API (system API): [https://myapp.auth0.com/api/v2/](https://myapp.auth0.com/api/v2/) already exists. MyApp (custo…

[https://community.auth0.com/t/how-can-i-enable-users-to-change-their-email-address-from-a-spa-or-native-app/44064?preview\_theme\_id=38](https://community.auth0.com/t/how-can-i-enable-users-to-change-their-email-address-from-a-spa-or-native-app/44064?preview_theme_id=38)

Hope this helps get you rolling in the right direction!

---

<div class="post-metadata">

**Author:** ![anandawebservices](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/anandawebservices/32/33657_2.png) [@anandawebservices](https://community.auth0.com/u/anandawebservices)\
**Post date:** [September 23, 2022, 9:15pm UTC](https://community.auth0.com/t/app-using-react-native-auth0-for-authentication-how-to-delete-users/90920/5 "2022-09-23T21:15:10Z")

</div>

Thank you! I will look into this 🙂

---

<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:** [October 7, 2022, 9:15pm UTC](https://community.auth0.com/t/app-using-react-native-auth0-for-authentication-how-to-delete-users/90920/6 "2022-10-07T21:15:58Z")

</div>

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