Update an existing table
Update 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.
Path parameters
Query parameters
Whether to return only results that have been archived.
Request body
Response
successful operation
Changes
Changed in 2 of the 14 revisions of this API.2
- ○
api operation id
patch-/cms/hubdb/2026-03/tables/{tableIdOrName}/draft_updateDraftTableremoved and replaced withpatch-/cms/hubdb/2026-03/tables/{tableIdOrName}/draftapi-operation-id-removed
This revision also has 77 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ○
endpoint added
endpoint-added
This revision also has 129 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
Of the 14 revisions, 1 has no diff computed and 2 have a changelog that could not be searched.