> ## Documentation Index
> Fetch the complete documentation index at: https://moengage.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete User From MoEngage Server

> Delete the current user from the MoEngage server using the deleteUser() method in the Flutter SDK.

<Info>
  This API is supported from **moengage\_flutter** version **6.1.0** and is only available for the Android platform and it will throw [UnImplementedError](https://api.flutter.dev/flutter/dart-core/UnimplementedError-class.html) error in other platforms
</Info>

To delete the current user from the MoEngage server use the ***deleteUser()*** method as shown below, where you will get an instance of [***UserDeletionData***](https://pub.dev/documentation/moengage_flutter_platform_interface/latest/moengage_flutter_platform_interface/UserDeletionData-class.html).

<CodeGroup>
  ```javascript Dart theme={null}

  import 'package:moengage_flutter/moengage_flutter.dart';
  final MoEngageFlutter _moengagePlugin = MoEngageFlutter(<YOUR_WORKSPACE_ID>);
  _moengagePlugin.initialise();

  // Below method will return an instance of <Future<UserDeletionData>>
  _moengagePlugin.deleteUser().then((value) {
  // Add your code to handle the callback.
  }).catchError((onError) {
  // Add your code to handle the Error.
  });
  ```
</CodeGroup>

For more information, please refer to the [API documentation](https://pub.dev/documentation/moengage_flutter/6.1.0/moengage_flutter/MoEngageFlutter/deleteUser.html).
