> For the complete documentation index, see [llms.txt](https://docs.roboflow.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.roboflow.com/deploy/vision-events/delete-events.md).

# Delete Events

You can delete Vision Events that are no longer needed. Deleted events are permanently removed from query results and the dashboard.

## Delete from the Dashboard

1. Open a Use Case and click on the event you want to delete
2. In the event detail sidebar, click the trash icon next to the event ID
3. Confirm the deletion in the dialog

## Delete via the API

Send a `POST` request to `/vision-events/delete` with the Use Case ID and an array of event IDs to delete.

```bash
curl -X POST "https://api.roboflow.com/vision-events/delete" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "useCaseId": "assembly-line-qa",
    "eventIds": ["evt-789ghi", "evt-456def"]
  }'
```

**Response:**

```json
{
  "deleted": 2,
  "notFound": []
}
```

`deleted` is the number of events that were removed. Any event IDs that didn't match a live event are returned in the `notFound` array.

You can delete up to 1,000 events per request.
