Tables
Clone a table
Changed onClone an existing HubDB table. The newName and newLabel of the new table can be sent as JSON in the request body. This will create the cloned table as a draft.
post/cms/hubdb/2026-03/tables/{tableIdOrName}/draft/clone
Request
- Base URLhttps://api.hubapi.com
- URLhttps://api.hubapi.com/cms/hubdb/2026-03/tables/{tableIdOrName}/draft/clone
- 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.write
Path parameters
tableIdOrNamestring required
The unique identifier or name of the HubDB table to clone.
Request body
Response
successful operation
Changes
- info
the security scope
hubdbwas added to the endpoint's security schemeoauth2 - info
the security scope
hubdb.tables.writewas removed from the endpoint's security schemeoauth2
- info
- info
the security scope
hubdb.tables.writewas added to the endpoint's security schemeoauth2 - info
the security scope
hubdb-schemas-writewas removed from the endpoint's security schemeoauth2
- info