# Plugin Uninstallation Flow

<figure><img src="/files/zjnTxiwj0jSo5hb8Dy6C" 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:

```bash
{'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.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.trmnl.com/go/plugin-marketplace/plugin-uninstallation-flow.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
