> ## 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 Unity SDK on Android.

<Info>
  This API is supported in **MoEngage Unity Package** starting **3.1.0** and is only available for the Android platform. Download the assets from [here](https://github.com/moengage/MoEngage-Unity-SDK/releases/tag/moengage-v3.1.0).
</Info>

To delete the current user from the MoEngage server use the **DeleteUser(UserDeletionResponseDelegate)** method as shown below, **UserDeletionResponseDelegate**is a delegate function with **UserDeletionData**parameter, which is triggered when the user deletion is completed.

<CodeGroup>
  ```javascript c# theme={null}
  using MoEngage;
  public void DeleteUser() {
    Debug.Log("DeleteUser() : ");
    MoEngageClient.DeleteUser(MyUserDeletionResponseDelegate);
  }
  //Delegate function
  public void MyUserDeletionResponseDelegate(UserDeletionData data) {
    Debug.Log("MyUserDeletionResponseDelegate() : isSuccess: " + data.isSuccess);
  }
  ```
</CodeGroup>
