Back

Deletion of a particular user in auth with userId or email

  • 0
  • Flutter
Raman
29 Jan, 2024, 11:31

I want implement a particular user when they tap on Delete Account and there while deleting I am getting 3 options so which one is good

  1. deleteIdentity
  2. deleteSession
  3. deleteSessions
TL;DR
Summary: The developer wants to delete a user account in auth and is unsure which option to choose: deleteIdentity, deleteSession, or deleteSessions. Solution: - deleteIdentity: This option deletes the user's identity, logs them out, and permanently removes their account. - deleteSession: This option deletes the user's current session, logging them out, but their account remains active. - deleteSessions: This option deletes all sessions for the user, logging them out from all devices, but their account remains active. Based on the requirement of deleting the entire account, the recommended option would be to use deleteIdentity.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more