Basic

Delete data source

Changed on

Delete a data source in HubSpot Data Studio. This operation is used to remove a specific data source identified by its ID. Ensure that the data source is no longer needed before deletion, as this action cannot be undone.

delete/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.

Response

An error occurred.

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