---
title: "Preview or withdraw historical internal test listings"
method: POST
path: "/v1/admin/test-catalog/cleanup"
---

# Preview or withdraw historical internal test listings

`POST /v1/admin/test-catalog/cleanup`

## Request

- Base URL: `https://buyingmesh.com`
- URL: `https://buyingmesh.com/v1/admin/test-catalog/cleanup`
- Auth: API key in header `X-Admin-Key`

Marks rows explicitly classified as internal test data as withdrawn and preserves them for audit. This operation never deletes product or merchant application records.

## Query parameters

- `confirm` 'WITHDRAW_INTERNAL_TEST_CATALOG'

## Response `200`

Withdrawal preview or result

## Other responses

- `401`: Merchant authentication failed

---

[API](https://skmtc.dev/buyingmesh/apis/buyingmesh-procurement-api.md) · [All operations](https://skmtc.dev/buyingmesh/apis/buyingmesh-procurement-api/llms.txt) · [OpenAPI document](https://skmtc.dev/buyingmesh/apis/buyingmesh-procurement-api/revisions/370360c1315c?raw)
