---
title: "Update a row"
method: PATCH
path: "/cms/hubdb/2026-03/tables/{tableIdOrName}/rows/{rowId}/draft"
tags: ["Rows"]
---

# Update a row

`PATCH /cms/hubdb/2026-03/tables/{tableIdOrName}/rows/{rowId}/draft`

Partially update a single row in the table's draft version.
All the column values need not be specified. Only the columns or fields that needs to be modified can be specified.
See the "Create a row" endpoint for instructions on how to format the JSON row definitions.

## Path parameters

- `rowId` string, required
- `tableIdOrName` string, required

## Request body

- CmsHubdbHubDbTableRowV3Request
  - `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.
  - `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

- CmsHubdbHubDbTableRowV3
  - `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

## 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 `patch-/cms/hubdb/2026-03/tables/{tableIdOrName}/rows/{rowId}/draft_updateDraftTableRow` removed and replaced with `patch-/cms/hubdb/2026-03/tables/{tableIdOrName}/rows/{rowId}/draft`
- **2026-03-30** `dc2fdad57f7f` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/hubspot/apis/hubspot-api-specification/changes/cms/hubdb/2026-03/tables/:tableIdOrName/rows/:rowId/draft/patch.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-service-production.skmtc.workers.dev/v1/apis/hubspot/hubspot-api-specification/revisions/f9c7181056c5/schema)
