Basic

Changes display-name of a datasource

Changed on

Updates the display-name of a datasource.

patch/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

Identifier of the datasource.

Request body

datasourceNamestring required

New name of datasource. Name cannot be used by another 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

  • 2026-0948170f54a9e5Revision changes
    • info

      the security scope data_integration.data_source.file.write was added to the endpoint's security scheme oauth2

    • info

      the security scope data-integration-json-datasource-write was removed from the endpoint's security scheme oauth2