Permanently Delete Item
purge_itemPermanently delete soft-deleted items from trash, bypassing the 30-day recovery window. Requires explicit confirmation to prevent accidental data loss.
Instructions
Permanently and irreversibly delete a soft-deleted item (purge it from the trash, skipping the 30-day recovery window). Only operates on items that are already soft-deleted - it refuses items that are still active. On the first call it returns a confirmation conflict; pass resolution: "confirm" only after the user explicitly agrees, or "cancel" to abort. Cascades to child rows the database cascades (e.g. a customer's contacts and interactions). To recover an item instead of destroying it, use restore_item.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entity_id | Yes | UUID of the soft-deleted entity. | |
| resolution | No | Pass "confirm" to permanently delete after the user agrees; "cancel" to abort. Omit on the first call to receive a confirmation prompt. | |
| entity_type | Yes | Type of soft-deleted entity to purge. |