Delete User From MoEngage Server
info

Note

This API is supported from cordova-moengage-core version 8.4.0 and is only available for the Android platform and is a no-operation for other platforms.

To delete the current user from the MoEngage server use deleteUser() method as shown below

JavaScript
var moe = MoECordova.init(YOUR_Workspace_ID);      
moe.deleteUser().then(result => 
//add your code to handle the callback
console.log("User Deletion Result",result.toString())
).catch(error => 
//add your code to handle the Error
console.error("Error while Deleting User",error.toString())
);

Previous

Next

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

How can we improve this article?