> For the complete documentation index, see [llms.txt](https://help.twinr.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.twinr.dev/js-bridge/request-account-delete.md).

# Request Account Delete

{% hint style="warning" %}
Account Delete feature must be enabled to use this JS Bridge.
{% endhint %}

We’ve provided the JavaScript function `twinr_request_account_delete()` to make it easy for you to initiate the account deletion process.

To allow users to request their account delete from within the app, simply call the `twinr_request_account_delete()` function in your website’s JavaScript.

```javascript
// Trigger account delete when the user requests it
twinr_request_account_delete();
```

You can integrate this function into your app’s settings page or profile section, where users typically manage their account details. For example, when a user clicks on a “Delete My Account” button, the twinr\_request\_account\_delete() function can be triggered to initiate the process. For example:

```html
<button onclick="twinr_request_account_delete()">Delete My Account</button>
```
