Basic

Updates a JSON datasource

Changed on

Update an existing data source in HubSpot Data Studio. This endpoint allows you to fully replace an existing datasource. The schema and the data can be provided in the request.

put/data-studio/data-source/2026-09/{datasourceId}/json

Request

  • Base URL
    https://api.hubapi.com
  • URL
    https://api.hubapi.com/data-studio/data-source/2026-09/{datasourceId}/json
  • Auth
    none required

Path parameters

datasourceIdinteger required

Identifier of the datasource

Request body

datasourceNamestring

New name of the datasource

Response

successful operation

createdAtstring

Timestamp when the datasource was created.

datasourceIdstring required

The unique identifier for the data source. It is an integer formatted as int64.

datasourceNamestring required

The name of the data source. It is a string.

previewLinkstring required

A URL string that provides a preview link for the data source.

updatedAtstring

Timestamp when the datasource was updated.

Changes