- An operator session with admin authority — erasure is an
/admin/apicontrol-plane operation, not a data-plane call. Anerase Agentscope isServiceAdmin-only; aProjectAdminmay erase within its own tenant. See the admin control plane.
The safety envelope
Erasure is irreversible, so it carries a typed confirmation: theconfirm field must exactly equal
the scope’s canonical label — agent:<id>, project:<id>, or node:<uuid>. A mismatch destroys
nothing and still writes a Denied audit of the attempt. Always dry-run first.
Steps
1
Dry-run to see the blast radius
dry_run: true returns the would-remove counts without deleting anything:2
Run it for real
Flip
dry_run to false. The response is the erasure certificate — the per-tier removal counts
(nodes_removed, diffs_removed, deliveries_removed, sessions_removed, tombstones_propagated,
…) plus a digest:3
Keep the receipt
Store the returned certificate. The erase also writes an
Erase row to the tamper-evident
audit log, so you have two independent records that the deletion occurred.To remove a single memory rather than a whole scope, use
POST /admin/api/nodes/{id}/delete — a
tombstone-first, idempotent delete that propagates the removal through the mesh. See
data lifecycle.See also
- Admin control plane — the erase confirmation, authority, and the certificate fields.
- Data lifecycle — the tombstone and erasure mechanics underneath.
- Audit log — the
Eraserecord and the hash chain.