> ## 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 **capacitor-moengage-core** version **3.1.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 TypeScript theme={"theme":{"light":"github-light","dark":"github-dark"}}
  import { MoECapacitorCore } from 'capacitor-moengage-core'
        
  MoECapacitorCore.deleteUser({appId: "YOUR_WORKSPACE_ID"}, (userDeletionData) = {
    // add your code to handle the callback.
    console.log(this.tag + " deleteUser(): workspaceId: " + userDeletionData.accountMeta.appId + " isSuccess=" + userDeletionData.isSuccess)
      })
  ```
</CodeGroup>
