Skip to main content
PATCH
/
cms
/
v3
/
hubdb
/
tables
/
{tableIdOrName}
/
rows
/
{rowId}
/
draft
Updates an existing row
curl --request PATCH \
  --url https://api.hubapi.com/cms/v3/hubdb/tables/{tableIdOrName}/rows/{rowId}/draft \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "childTableId": 123,
  "displayIndex": 123,
  "values": {},
  "name": "<string>",
  "path": "<string>"
}
'
{
  "childTableId": "<string>",
  "createdAt": "2023-11-07T05:31:56Z",
  "id": "<string>",
  "name": "<string>",
  "path": "<string>",
  "publishedAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z",
  "values": {}
}

Supported products

Requires one of the following products or higher.
Marketing HubMarketing Hub -Professional
Sales HubSales Hub -Free
Service HubService Hub -Free
Content HubContent Hub -Professional
Data HubData Hub -Free

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

rowId
string
required

The ID of the row

tableIdOrName
string
required

The ID or name of the table

Body

application/json
childTableId
integer<int64>
required

Specifies the value for the column child table id

displayIndex
integer<int32>
required

The index position for displaying the row within the table.

values
object
required

List of key value pairs with the column name and column value

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

Response

successful operation

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

Last modified on December 16, 2025