Soft-delete bookmarks safely. Restore anything within 30 days.
Trash is a Pro feature. On the Pro plan, deleting a bookmark in Relink is non-destructive — the bookmark is soft-deleted by setting a deletedAt timestamp. It disappears from your dashboard and is excluded from search, chat, and synthesis, but the data remains in the database and can be restored.
PDF uploads remain intact while a bookmark sits in Trash. The original stored PDF file is only removed when you permanently delete the bookmark from Trash or when the 30-day auto-purge runs.
On the Free plan, deleting a bookmark is permanent — the row and all associated data (embeddings, AI metadata, notes) are immediately removed. A confirmation prompt is shown before every delete to prevent accidental data loss.
Pro users can manage trashed bookmarks from /dashboard/trash. From there you can restore individual bookmarks, permanently delete them, or empty the entire trash at once.
A scheduled cron job runs at /api/cron/purge-trash and permanently deletes any link where deletedAt is older than 30 days. This keeps your database clean without manual intervention.
# Triggered automatically — no manual action required
POST /api/cron/purge-trash
Authorization: Bearer <CRON_SECRET>