---
title: "Purge every message from a stream (confirm = its name)"
method: POST
path: "/instances/{instance_id}/nats/streams/{name}/actions/purge"
tags: ["engines"]
---

# Purge every message from a stream (confirm = its name)

`POST /instances/{instance_id}/nats/streams/{name}/actions/purge`

## Request

- Base URL: `https://app.lathe.live/api/v1`
- URL: `https://app.lathe.live/api/v1/instances/{instance_id}/nats/streams/{name}/actions/purge`
- Auth: none declared

## Path parameters

- `instance_id` string, required
- `name` string, required

## Request body

- ConfirmIn
  - `confirm` string, required: The instance id, typed exactly.

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/lathe/apis/lathe-customer-api.md) · [All operations](https://skmtc.dev/lathe/apis/lathe-customer-api/llms.txt) · [OpenAPI document](https://skmtc.dev/lathe/apis/lathe-customer-api/revisions/68cfd9bb71c1?raw)
