---
title: "Truncate a Table"
method: GET
path: "/kvservice.truncate/{tableName}"
tags: ["Key-Value Store"]
---

# Truncate a Table

`GET /kvservice.truncate/{tableName}`

Truncates the table; removes all key values from the table. Table structure (primary keys, columns, indexes) remains.

## Response `200`

OK

- object
  - `response` object
    - `node` string
    - `data` object, nullable
    - `status` integer

---

[API](https://skmtc.net/pricefx/apis/the-pricefx-backend-api.md) · [All operations](https://skmtc.net/pricefx/apis/the-pricefx-backend-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/pricefx/the-pricefx-backend-api/versions/0850b5d6be73/schema)
