---
title: reports prune
description: Deletes old reports for CLI operations performed per Storyblok space.
url: https://www.storyblok.com/docs/tooling/cli/reports-prune
---

# reports prune

Deletes old reports for CLI operations performed per Storyblok space.

## Usage

```bash
storyblok reports prune [flags]
```

## Flags

| Flag | Type | Description |
| --- | --- | --- |
| `--space` | integer | _Required._ The ID of the Storyblok space to list reports for. |
| `--keep` | integer | _Optional._ The number of most recent reports to keep. If not specified, all reports are deleted. |

## Pagination

-   [Previous: reports list](/docs/tooling/cli/reports-list)
-   [Next: schema init](/docs/tooling/cli/schema-init)
