Update an existing table
Changed onUpdate an existing HubDB table. You can use this endpoint to add or remove columns to the table as well as restore an archived table. Tables updated using the endpoint will only modify the draft verion of the table. Use the /publish endpoint to push all the changes to the published version. To restore a table, include the query parameter archived=true and "archived": false in the json body. Note: You need to include all the columns in the input when you are adding/removing/updating a column. If you do not include an already existing column in the request, it will be deleted.
Request
- Base URLhttps://api.hubapi.com
- URLhttps://api.hubapi.com/cms/hubdb/2026-03/tables/{tableIdOrName}/draft
- Auth
- HTTP bearer
- or API key in query parameter hapikey
- or none
Path parameters
Query parameters
Whether to return only results that have been archived.
Request body
Response
successful operation
Changes
- info
api operation id
patch-/cms/hubdb/2026-03/tables/{tableIdOrName}/draft_updateDraftTableremoved and replaced withpatch-/cms/hubdb/2026-03/tables/{tableIdOrName}/draft
- info
- info
endpoint added
- info
Some revisions have not been checked yet.