mirror of
https://github.com/usetrmnl/api-docs.git
synced 2026-04-29 13:42:22 -07:00
757 B
757 B
description
| description |
|---|
| Handling user uninstallation requests on your web server. |
Plugin Uninstallation Flow

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:
{"user_uuid": "uuid-of-the-user"}
Parse this webhook payload to perform a "teardown" or similar strategy on your web server.