---
title: "Endpoint to purge user data"
method: DELETE
path: "/v1/data/purge"
tags: ["data"]
---

# Endpoint to purge user data

`DELETE /v1/data/purge`

A call to this endpoint purges all previously deleted data. Use it with care and always with user permission.
The demo user is incapable of using this endpoint.

## Headers

- `X-Trace-Id` string, uuid

## Response `204`

Empty response when data has been purged.

## Other responses

- `400` — Bad request
- `401` — Unauthenticated
- `404` — Page not found
- `500` — Internal exception

---

[API](https://skmtc.dev/firefly-iii/apis/firefly-iii-api-develop.md) · [All operations](https://skmtc.dev/firefly-iii/apis/firefly-iii-api-develop/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/firefly-iii/firefly-iii-api-develop/revisions/8a1f6472e04b/schema)
