---
title: "Truncate all data from an event store"
method: POST
path: "/meters/events/stores/{eventStoreId}/truncate"
tags: ["Event Store"]
---

# Truncate all data from an event store

`POST /meters/events/stores/{eventStoreId}/truncate`

Truncates (deletes) all events from a specific event store in Zuora Mediation.

This operation runs asynchronously and returns a query job identifier that
you can use with the Event Store query job APIs to monitor status.

## Path parameters

- `eventStoreId` integer, required

## Headers

- `Content-Type` string, required
- `Accept-Encoding` string
- `Content-Encoding` string
- `Zuora-Entity-Ids` string
- `Zuora-Org-Ids` string
- `Zuora-Track-Id` string

## Response `200`

OK - Truncation job successfully submitted

- TruncateEventStoreResponse
  - `success` boolean — Indicates whether the request was successful.
  - `data` object — Truncation job metadata.
    - `queryId` string — ID of the submitted truncation job. Use this to poll job status.
  - `previousPage` string, nullable — Cursor for the previous page, if available. Used for backward pagination.
  - `nextPage` string, nullable — Cursor for the next page, if available. Used for forward pagination.

## Other responses

- `400` — Bad Request - Invalid eventStoreId parameter
- `404` — Not Found - Event Store does not exist
- `409` — Conflict - Event Store is in a non-modifiable state
- `500` — Internal Server Error

---

[API](https://skmtc.dev/zuora/apis/api-reference.md) · [All operations](https://skmtc.dev/zuora/apis/api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/zuora/api-reference/revisions/d11e237f3e54/schema)
