Rows

Updates an existing row

Changed on

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.

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

Request

  • Base URL
    https://api.hubapi.com
  • URL
    https://api.hubapi.com/cms/hubdb/2026-03/tables/{tableIdOrName}/rows/{rowId}/draft
  • Auth
    • OAuth 2
      Authorization code: https://app.hubspot.com/oauth/authorize
      Token URL: https://api.hubapi.com/oauth/v1/token scopes: hubdb
    • or OAuth 2
      Authorization code: https://app.hubspot.com/oauth/authorize
      Token URL: https://api.hubapi.com/oauth/v1/token scopes: hubdb.rows.write

Path parameters

rowIdstring required

The unique identifier of the draft row to update. Must be a numeric string.

tableIdOrNamestring required

The unique identifier or name of the table containing the draft row to update.

Request body

childTableIdinteger required

Specifies the value for the column child table id

displayIndexinteger required

The index position for displaying the row within the table.

namestring

Specifies the value for hs_name column, which will be used as title in the dynamic pages

pathstring

Specifies the value for hs_path column, which will be used as slug in the dynamic pages

valuesobject required

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

Response

successful operation

childTableIdstring required

Specifies the value for the column child table id

createdAtstring date-time required

Timestamp at which the row is created

idstring required

The id of the table row

namestring required

Specifies the value for hs_name column, which will be used as title in the dynamic pages

pathstring required

Specifies the value for hs_path column, which will be used as slug in the dynamic pages

publishedAtstring date-time required

The timestamp indicating when the row was last published, in date-time format.

updatedAtstring date-time required

Timestamp at which the row is updated last time

valuesobject required

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

Changes

    • info

      the security scope hubdb was added to the endpoint's security scheme oauth2

    • info

      the security scope hubdb.rows.write was removed from the endpoint's security scheme oauth2

  • 2026-03f907bc4f599cRevision changes
    • info

      the security scope hubdb.rows.write was added to the endpoint's security scheme oauth2

    • info

      the security scope hubdb-data-write was removed from the endpoint's security scheme oauth2