Docs Menu

Docs HomeRealm

Delete a User - Flutter SDK

Call the App.deleteUser() on a user object to delete the user's account from your App Services App. This deletes the account from the App on the server in addition to clearing local data.

final currentUser = app.currentUser!;
await app.deleteUser(currentUser);

The user must sign up for a new account to use your App in the future. Even if the user signs up again with the same credentials, App Services creates a new user account with a new User ID.

←  User Metadata - Flutter SDKGet the User Access Token - Flutter SDK →
Share Feedback
© 2023 MongoDB, Inc.

About

  • Careers
  • Investor Relations
  • Legal Notices
  • Privacy Notices
  • Security Information
  • Trust Center
© 2023 MongoDB, Inc.