---
title: "Replace rows in batch in draft table"
method: POST
path: "/cms/hubdb/2026-03/tables/{tableIdOrName}/rows/draft/batch/replace"
tags: ["Rows"]
---

# Replace rows in batch in draft table

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

Replaces multiple rows as a batch in the draft version of the table, with a maximum of 100 rows per call. See the endpoint `PUT /tables/{tableIdOrName}/rows/{rowId}/draft` for details on updating a single row.

## Path parameters

- `tableIdOrName` string, required

## Request body

- BatchInputHubDbTableRowV3BatchUpdateRequest
  - `inputs` HubDbTableRowV3BatchUpdateRequest[], required
    - `childTableId` integer, required — Specifies the value for the column child table id
    - `displayIndex` integer, required — The index position for displaying the row within the table.
    - `id` string — The id of the table row
    - `name` string — Specifies the value for `hs_name` column, which will be used as title in the dynamic pages
    - `path` string — Specifies the value for `hs_path` column, which will be used as slug in the dynamic pages
    - `values` object, required — List of key value pairs with the column name and column value

## Response `200`

successful operation

- BatchResponseHubDbTableRowV3
  - `completedAt` string, date-time, required — The timestamp indicating when the batch processing was completed.
  - `links` object — A collection of related links associated with the batch response.
  - `requestedAt` string, date-time — The timestamp indicating when the batch request was made.
  - `results` HubDbTableRowV3[], required
    - `childTableId` string, required — Specifies the value for the column child table id
    - `createdAt` string, date-time, required — Timestamp at which the row is created
    - `id` string, required — The id of the table row
    - `name` string, required — Specifies the value for `hs_name` column, which will be used as title in the dynamic pages
    - `path` string, required — Specifies the value for `hs_path` column, which will be used as slug in the dynamic pages
    - `publishedAt` string, date-time, required — The timestamp indicating when the row was last published, in date-time format.
    - `updatedAt` string, date-time, required — Timestamp at which the row is updated last time
    - `values` object, required — List of key value pairs with the column name and column value
  - `startedAt` string, date-time, required — The timestamp indicating when the batch processing began.
  - `status` 'CANCELED' | 'COMPLETE' | 'PENDING' | 'PROCESSING', required — The current status of the batch operation, with possible values: CANCELED, COMPLETE, PENDING, PROCESSING.

## Other responses

- `207` — multiple statuses
- `default` — An error occurred.

## Changes

- **2026-07-13** (v3) `18fde1f09597` — 1 info
  - endpoint added
- **2024-05-30** (v3) `4f23fa1e0b9f` — 1 breaking
  - api path removed without deprecation

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

---

[API](https://skmtc.dev/hubspot/apis/cms-hubdb.md) · [All operations](https://skmtc.dev/hubspot/apis/cms-hubdb/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/hubspot/cms-hubdb/revisions/18fde1f09597/schema)
