> Aztec.nr API reference, v6.0.0 (mainnet and testnet). Index: https://docs.aztec.network/aztec-nr-api/v6.0.0/llms.txt

# Function delete_fact_collection

Module: `noir_aztec::facts`

```rust
pub unconstrained fn delete_fact_collection(
    contract_address: AztecAddress,
    scope: FactScope,
    fact_collection_type_id: Field,
    fact_collection_id: Field,
)
```

Deletes a fact collection, removing all its facts from PXE storage.

Collections must be eventually deleted to reclaim storage and to stop reprocessing past the lifespan of the workflows they enable.

A no-op if no such collection exists.
