---
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`

## Request

- Base URL: `http://products_url`
- URL: `http://products_url/v1/tasks/delete-historical-data`
- Auth: none declared

## Response `200`

OK

## Changes

- **2023-10-04** `3d0c5128caf3`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/government-digital-service/apis/products-api/changes/v1/tasks/delete-historical-data/post.md)

---

[API](https://skmtc.dev/government-digital-service/apis/products-api.md) - [All operations](https://skmtc.dev/government-digital-service/apis/products-api/llms.txt) - [OpenAPI document](https://skmtc.dev/government-digital-service/apis/products-api/revisions/521f70c3f2d9?raw)
