Delete User From MoEngage Server
info

Note

This API is supported from capacitor-moengage-core version 3.1.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

TypeScript

      import { MoECapacitorCore } from 'capacitor-moengage-core'
      
      MoECapacitorCore.deleteUser({appId: "YOUR_APP_ID"}, (userDeletionData) = {
      // add your code to handle the callback.
      console.log(this.tag + " deleteUser(): appId="+userDeletionData.accountMeta.appId + " isSuccess=" +userDeletionData.isSuccess)
    })
    
Was this article helpful?
0 out of 0 found this helpful

How can we improve this article?