Basic
Delete data source
Changed onDelete 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 URLhttps://api.hubapi.com
- URLhttps://api.hubapi.com/data-studio/data-source/2026-09/{datasourceId}
- AuthOAuth 2Authorization code: https://app.hubspot.com/oauth/authorizeToken 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
- info
the security scope
data_integration.data_source.file.writewas added to the endpoint's security schemeoauth2 - info
the security scope
data-integration-json-datasource-writewas removed from the endpoint's security schemeoauth2
- info