---
title: "Deletetabledata"
method: POST
path: "/api/new_mdm/delete_table_data"
tags: ["MDM NEW"]
---

# Deletetabledata

`POST /api/new_mdm/delete_table_data`

**Function**: `DeleteTableData`  
**Type**: API Endpoint (POST)

**Purpose**:  
This function deletes all data from a specified table in the customer's database.

**Endpoint**:  
`POST http://<baseURL>/api/new_mdm/delete_table_data`

**Headers**:  
The request must include the following headers:
- `Customer-Key`: Encoded customer key used to verify the customer's identity.
- `Table_Name`: The name of the table from which data is to be deleted.

**Response**:  
The API returns a JSON object with the status of the operation.

**Response Structure**:  
The response will be in the following format:

## Headers

- `Customer-Key` string, required
- `Table-Name` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/leapsurgebi/apis/leapsurgeapi.md) · [All operations](https://skmtc.dev/leapsurgebi/apis/leapsurgeapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/leapsurgebi/leapsurgeapi/revisions/5a6b1464bfeb/schema)
