Delete User From MoEngage Server
info

Note

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.

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.

c#
using MoEngage;
public void DeleteUser() { Debug.Log("DeleteUser() : "); MoEngageClient.DeleteUser(MyUserDeletionResponseDelegate); }
//Delegate function public void MyUserDeletionResponseDelegate(UserDeletionData data) { Debug.Log("MyUserDeletionResponseDelegate() : isSuccess: " + data.isSuccess); }

 

Was this article helpful?
0 out of 0 found this helpful

How can we improve this article?