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

# Delete User From MoEngage Server

<Info>
  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.
</Info>

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

<CodeGroup>
  ```javascript JavaScript theme={"theme":{"light":"github-light","dark":"github-dark"}}
  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())
  );
  ```
</CodeGroup>
