Tables
Publish a table from draft
Changed onPublishes the table by copying the data and table schema changes from draft version to the published version, meaning any website pages using data from the table will be updated.
post/cms/hubdb/2026-03/tables/{tableIdOrName}/draft/publish
Request
- Base URLhttps://api.hubapi.com
- URLhttps://api.hubapi.com/cms/hubdb/2026-03/tables/{tableIdOrName}/draft/publish
- Auth
- OAuth 2Authorization code: https://app.hubspot.com/oauth/authorizeToken URL: https://api.hubapi.com/oauth/v1/token scopes: hubdb
- or OAuth 2Authorization code: https://app.hubspot.com/oauth/authorizeToken URL: https://api.hubapi.com/oauth/v1/token scopes: hubdb.tables.publish
Path parameters
tableIdOrNamestring required
The unique identifier or name of the HubDB table to publish.
Query parameters
includeForeignIdsboolean
A boolean indicating whether to include foreign IDs in the response.
Response
successful operation
Changes
- info
the security scope
hubdbwas added to the endpoint's security schemeoauth2 - info
the security scope
hubdb.tables.publishwas removed from the endpoint's security schemeoauth2
- info
- info
the security scope
hubdb.tables.publishwas added to the endpoint's security schemeoauth2 - info
the security scope
hubdb-publishwas removed from the endpoint's security schemeoauth2
- info