curl --request PUT \
--url https://api.hubapi.com/data-studio/data-source/2026-09-beta/{datasourceId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: multipart/form-data' \
--form file='@example-file' \
--form 'request=<string>'{
"datasourceId": 123,
"datasourceName": "<string>",
"previewLink": "<string>"
}HubSpotデータスタジオで既存のデータソースを更新します。このエンドポイントを使用すると、datasourceIdで識別された特定のデータソースの詳細を変更できます。リクエストには、データソースの更新に必要なフィールドが含まれるマルチパートフォームデータ本文を含める必要があります。
curl --request PUT \
--url https://api.hubapi.com/data-studio/data-source/2026-09-beta/{datasourceId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: multipart/form-data' \
--form file='@example-file' \
--form 'request=<string>'{
"datasourceId": 123,
"datasourceName": "<string>",
"previewLink": "<string>"
}Supported products
Required Scopes
The access token received from the authorization server in the OAuth 2.0 flow.
データソースのID。