Basic

Update data source

Update an existing data source in HubSpot Data Studio. This endpoint allows you to modify the details of a specific data source identified by its datasourceId. The request must include a multipart form-data body with the necessary fields to update the data source

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

Request

  • Base URL
    https://api.hubapi.com
  • URL
    https://api.hubapi.com/data-studio/data-source/2026-09/{datasourceId}
  • Auth
    OAuth 2
    Authorization code: https://app.hubspot.com/oauth/authorize
    Token URL: https://api.hubapi.com/oauth/v1/token scopes: data_integration.data_source.file.write

Path parameters

datasourceIdinteger required

The ID of the datasource.

Request body multipart/form-data

filestring binary
requeststring

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

No recorded changes to this operation across all 2 revisions of this API.