HubSpot HubDB icon

HubSpot HubDB

Manage HubSpot HubDB tables and rows

Table → Update

AI-generated

Summary

Update a HubSpot HubDB table’s metadata and complete column schema. The operation patches the table’s draft; columns omitted from the submitted list are deleted, so include every column you want to keep.

Inputs

  • Table (required) — Select the table to update, or provide its ID or name using an expression.
  • Table Label (required) — Set the table’s display label.
  • Allow Public API Access (required) — Choose whether unauthenticated users can access published table data.
  • Allow Child Tables (required) — Choose whether child tables can be created for this table.
  • Use for Pages (required) — Choose whether to enable the table for dynamic pages.
  • Enable Child Table Pages (required) — Choose whether to enable multi-level dynamic pages using child tables.
  • Dynamic Meta Tags (required) — Provide a JSON object mapping metadata field keys to column IDs, or {} if not needed.
  • Columns Source — Choose whether to define the full column list with UI fields or as a JSON array.
  • Columns — In fields mode, define every column to keep or add. Existing columns can include their ID; leave the ID at 0 for a new column. Set each column’s name, label, and type. SELECT and MULTISELECT columns can include options.
  • Columns (JSON) (required) — In JSON mode, provide an array of column definitions. Each column needs name, label, and type; id and options are optional. Do not include metadata fields such as createdAt or updatedAt.

Output shape

A single item containing the updated table record as JSON.

Updates the draft table with a PATCH request. The submitted columns replace the full schema, so omitted columns are permanently deleted. Invalid JSON or column definitions cause an error.

Links

Discussion