Account Deletion for iOS App Store Rules

Given that the iOS app store requires users to be able to delete accounts from within the iOS app, I am wondering if there is a consensus way of doing this with Auth0 - e.g., is there any documentation or advice you can give about doing something programmatically that triggers a deletion of account? I am making a button in my app that would do this, but need to figure out the code as it relates to the Auth0 iOS SDK. Alternatively, although not ideally, I could just pull up an in-app safari webpage of the Auth0 account portal (specifically the part on “Security”, which is where the delete button is) - would appreciate any docs or advice you have on this as well.

Hi @cdarbs11

Welcome to the Auth0 Community!

Thank you for posting your question. As the Native application is considered a public application, we cannot make a call directly from the app. You would need a backend or proxy API to handle these requests or an added endpoint on an existing backend API. From this point, your proxy will need to make a call to the Delete user endpoint → https://auth0.com/docs/api/management/v2/users/delete-users-by-id of the Management API.

Thanks
Dawid

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