Insightsモデルはユーザーと明示的に共有する必要があります。Insightsモデルは、作成者やユーザーと自動的に共有されません。
APIエンドポイントについては、お使いの地域に適したエンドポイントを選択してください。
curl -X PUT "https://<api endpoint>/reporting/datamodels/xxxxxx/shares" \
-H 'authorization: TD1 xxxx/xxxxxxxxxxxxxx' \
-H 'cache-control: no-cache' \
-H 'accept: application/json' \
-H 'content-type: application/json' \
-d '{
"emails": ["user1@treasure-data.com", "user2@treasure-data.com"]
}'要件
- Insightsモデルを共有するすべてのユーザーのメールアドレスを含めます。
- 各ユーザーは、Treasure Dataにメールアドレスを持ち、_ダッシュボードアクセス_のレポートロールを持っている必要があります。
- JSONオブジェクトを使用してInsightsモデルを共有する場合は、リクエストヘッダーで「Content-Type: application/json」を使用する必要があります。