---
title: "Deletes historical payment data based on `expungeHistoricalDataConfig`"
method: POST
path: "/v1/tasks/delete-historical-data"
tags: ["Payments"]
---

# Deletes historical payment data based on `expungeHistoricalDataConfig`

`POST /v1/tasks/delete-historical-data`

## Response `200`

OK

---

[API](https://skmtc.net/government-digital-service/apis/products-api.md) · [All operations](https://skmtc.net/government-digital-service/apis/products-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/government-digital-service/products-api/versions/521f70c3f2d9/schema)
