---
title: "Delete rows"
method: POST
path: "/cms/hubdb/2026-03/tables/{tableIdOrName}/rows/draft/batch/purge"
tags: ["Rows"]
---

# Delete rows

`POST /cms/hubdb/2026-03/tables/{tableIdOrName}/rows/draft/batch/purge`

## Request

- Base URL: `https://api.hubapi.com`
- URL: `https://api.hubapi.com/cms/hubdb/2026-03/tables/{tableIdOrName}/rows/draft/batch/purge`
- Auth: one of:
  - HTTP bearer
  - API key in query parameter `hapikey`
  - none

Permanently delete rows from the draft version of a table, given a set of row IDs. Maximum of 100 row IDs per call.

## Path parameters

- `tableIdOrName` string, required

## Request body

- BatchInputString
  - `inputs` string[], required: Strings to input.

## Response `204`

No content

## Other responses

- `default`: An error occurred.

## Changes

> 14 revisions in range; 1 not diffed, 2 could not be searched.

- **2026-04-08** `b0d8bc008db9`: 1 info
  - api operation id `post-/cms/hubdb/2026-03/tables/{tableIdOrName}/rows/draft/batch/purge_purgeDraftTableRows` removed and replaced with `post-/cms/hubdb/2026-03/tables/{tableIdOrName}/rows/draft/batch/purge`
- **2026-04-01** `e0403341222c`: 1 breaking, 1 info
  - removed the success response with the status `200`
  - added the success response with the status `204`
- **2026-03-30** `dc2fdad57f7f`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/hubspot/apis/hubspot-api-specification/changes/cms/hubdb/2026-03/tables/:tableIdOrName/rows/draft/batch/purge/post.md)

---

[API](https://skmtc.dev/hubspot/apis/hubspot-api-specification.md) - [All operations](https://skmtc.dev/hubspot/apis/hubspot-api-specification/llms.txt) - [OpenAPI document](https://skmtc.dev/hubspot/apis/hubspot-api-specification/revisions/f9c7181056c5?raw)
