fluree memory forget
Retract a memory permanently. Unlike update, forget removes the memory entirely — it stops existing.
fluree memory forget <ID>
Output:
Forgotten: mem:fact-01JDXYZ...
When to forget vs. update
| You think… | Use |
|---|---|
| "This was wrong from the start" | forget |
| "This was right but the world changed" | update |
| "I never want anyone to see this again" | forget |
See Updates and forgetting for more detail.
Forgetting accidentally-committed secrets
Forgetting removes the memory from the ledger and rewrites repo.ttl (or .local/user.ttl) immediately, so the deletion shows up in your next git diff. If a secret value also ended up in git history, you need to scrub the history separately — see Secrets and sensitivity.