---
title: "POST /purge"
method: POST
path: "/purge"
---

# POST /purge

`POST /purge`

Purge all persisted data and restart

## Response `200`

ok

## Other responses

- `403` — error

## Changes

> 53 revisions in range; 1 could not be searched.

- **2026-03-30** `f46903303e53` — 2 info
  - added the non-success response with the status `403`
  - removed the non-success response with the status `400`
- **2025-06-02** `60812f5416c5` — 2 info
  - added the non-success response with the status `400`
  - removed the non-success response with the status `403`

[Change history](https://skmtc.dev/sourcenetwork/apis/defradb-api/changes/purge/post.md)

---

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