> For the complete documentation index, see [llms.txt](https://docs.trmnl.com/go/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.trmnl.com/go/plugin-marketplace/plugin-uninstallation-flow.md).

# Plugin Uninstallation Flow

Handling user uninstallation requests on your web server.

<figure><img src="https://1607647240-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnXhDs1PQJ2VX7ppA91eY%2Fuploads%2Fgit-blob-50a775fabc9bce7cdbe60a1d9bcdd444df18210f%2FScreenshot%202024-09-06%20at%203.36.35%20PM.png?alt=media" alt=""><figcaption></figcaption></figure>

When a user uninstalls your plugin, as a best practice TRMNL will send a notification via webhook. The POST request is sent to the `uninstallation_webhook_url` in JSON format with the following details:

HTTP Headers:

```
Authorization: Bearer <access_token>
Content-Type: application/json
```

Body:

<pre class="language-json"><code class="lang-json"><strong>{"user_uuid": "uuid-of-the-user"}
</strong></code></pre>

Parse this webhook payload to perform a "teardown" or similar strategy on your web server.
