> ## Documentation Index
> Fetch the complete documentation index at: https://wb-21fd5541-docs-1917.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Comment supprimer plusieurs runs en une seule fois plutôt qu’un par un ?

Utilisez l’[API publique](/fr/models/ref/python/public-api/api) pour supprimer plusieurs runs en une seule opération :

```python theme={null}
import wandb

api = wandb.Api()
runs = api.runs('<entity>/<project>')
for run in runs:
    if <condition>:
        run.delete()
```

***

<Badge stroke shape="pill" color="orange" size="md">[Projects](/fr/support/models/tags/projects)</Badge><Badge stroke shape="pill" color="orange" size="md">[Runs](/fr/support/models/tags/runs)</Badge>
