{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-@l10n/ja/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"リアルタイムセグメントからのプロフィール削除","description":"Treasure Data Product Documentation · Collect and Unify · Segment and Activate · Experiment and Analyze · Decisioning Automate with AI Scale and Trust.","siteUrl":"https://docs.treasuredata.com","lang":"en-US","llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"リアルタイムセグメントからのプロフィール削除","__idx":0},"children":["リアルタイムセグメントからのプロフィール削除"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["ビジネス上の理由や、GDPRやCCPAなどのプライバシー法を遵守するために必要な場合は、リアルタイムセグメントに保存されているプロフィールを削除できます。これを実現するメカニズムは、削除するプロフィールのテーブルを使用してプロフィール削除APIを呼び出すワークフローを作成することです。以下は、これを実現するための手順です:"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["リアルタイムセグメントから削除したい1つ以上のプロフィールを含むテーブルを作成します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["プロフィールのテーブルを削除APIに渡すワークフロータスクを作成し、そのテーブルに含まれるプロフィールをリアルタイムセグメントから削除します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Premium Audit Logを確認して、削除操作が成功したことを確認します。"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"リアルタイムペアレントセグメントから削除するプロフィールのテーブルを作成","__idx":1},"children":["リアルタイムペアレントセグメントから削除するプロフィールのテーブルを作成"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["リアルタイムペアレントセグメントから削除するプロフィールのテーブルは、",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/customer-data-platform/data-workbench/databases/creating-or-viewing-tables"},"children":["Treasure コンソール"]},"で手動で作成するか、",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/customer-data-platform/data-workbench/databases/creating-or-viewing-tables#using-td-toolbelt"},"children":["TD Toolbelt"]},"を使用して作成できます。クエリを使用してテーブルを作成する場合は、削除したいリアルタイムセグメントを作成するために使用されたデータベースにクエリを実行します。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"リアルタイムペアレントセグメントからプロフィールを削除するワークフローを作成","__idx":2},"children":["リアルタイムペアレントセグメントからプロフィールを削除するワークフローを作成"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["リアルタイムペアレントセグメントから削除するプロフィールのテーブルを作成したら、プロフィール削除APIを呼び出すワークフローを作成します。ワークフローは、",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/customer-data-platform/data-workbench/workflows/getting-started-with-treasure-workflow"},"children":["Treasure コンソール"]},"または",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/customer-data-platform/data-workbench/workflows/getting-started-with-treasure-workflow#using-td-toolbelt"},"children":["TD Toolbelt"]},"を使用して作成できます。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["ワークフローを作成した後、その設定方法の例を以下に示します。"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"yaml","header":{"controls":{"copy":{}}},"source":"+create_rt_profile_delete_internal_db:\n  td_ddl>:\n  create_databases: [rt_profile_delete_internal_container]\n  database: rt_profile_delete_internal_container\n\n###\n### RT PROFILE DELETE INTERNAL\n###\n+rt_profile_delete_profile:\n  td>:\n  database: rt_profile_delete_internal_container\n  query: |\n    SELECT key || ':' || value\n    FROM profiles_to_be_deleted;\n  result_url: |\n    {\n      \"type\": \"rest\",\n      \"method\": \"POST\",\n      \"authorization\": \"${secret:td.apikey}\",\n      \"endpoint\": \"${reactor_importer_endpoint}/internal/bulk-delete-internal\",\n      \"headers\": \"{\\\"x-reactor-instance-name\\\": \\\"${reactor_instance}\\\"}\",\n      \"parallelism\": ${parallelism},\n      \"page_size\": ${page_size}\n    }\n","lang":"yaml"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["上記の例では、以下の点に注意してください:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["FROM行では、削除したいプロフィールを含む作成したテーブルを指定します"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["\"endpoint\"行では、リアルタイムデータが保存されているリージョンのエンドポイントを指定します。"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["ワークフローを設定した後、それを実行してプロフィールを削除します。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"リアルタイムペアレントセグメント削除エンドポイント","__idx":3},"children":["リアルタイムペアレントセグメント削除エンドポイント"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["プロフィール削除APIは直接呼び出すことはできません。リアルタイムセグメントからプロフィールを削除するために作成するワークフロー設定で指定する必要があります。以下は、ワークフロー設定に含めるリージョン固有のエンドポイントです。"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Region"},"children":["Region"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Endpoint"},"children":["Endpoint"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["US (aws)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://bulk-storage-importer-api-production-aws-us-east-1.internal.treasuredata.com/"},"children":["https://bulk-storage-importer-api-production-aws-us-east-1.internal.treasuredata.com"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Japan (aws-tokyo)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://bulk-storage-importer-api-production-aws-tokyo-ap-northeast-1.internal.treasuredata.com/"},"children":["https://bulk-storage-importer-api-production-aws-tokyo-ap-northeast-1.internal.treasuredata.com"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Europe (eu01)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://bulk-storage-importer-api-production-eu01-eu-central-1.internal.treasuredata.com/"},"children":["https://bulk-storage-importer-api-production-eu01-eu-central-1.internal.treasuredata.com"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Asia-Pacific (ap03)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://bulk-storage-importer-api-production-ap03-ap-northeast-1.internal.treasuredata.com/"},"children":["https://bulk-storage-importer-api-production-ap03-ap-northeast-1.internal.treasuredata.com"]}]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"リアルタイムペアレントセグメントからのプロフィール削除を確認するためのaudit-logの確認","__idx":4},"children":["リアルタイムペアレントセグメントからのプロフィール削除を確認するためのAudit Logの確認"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["ワークフローの実行が正常に完了したら、Premium Audit Logを確認して、テーブルに含まれるプロフィールが削除されたかどうかを判断できます。"]}]},"headings":[{"value":"リアルタイムセグメントからのプロフィール削除","id":"リアルタイムセグメントからのプロフィール削除","depth":1},{"value":"リアルタイムペアレントセグメントから削除するプロフィールのテーブルを作成","id":"リアルタイムペアレントセグメントから削除するプロフィールのテーブルを作成","depth":2},{"value":"リアルタイムペアレントセグメントからプロフィールを削除するワークフローを作成","id":"リアルタイムペアレントセグメントからプロフィールを削除するワークフローを作成","depth":2},{"value":"リアルタイムペアレントセグメント削除エンドポイント","id":"リアルタイムペアレントセグメント削除エンドポイント","depth":3},{"value":"リアルタイムペアレントセグメントからのプロフィール削除を確認するためのAudit Logの確認","id":"リアルタイムペアレントセグメントからのプロフィール削除を確認するためのaudit-logの確認","depth":2}],"frontmatter":{"seo":{"title":"リアルタイムセグメントからのプロフィール削除"}},"lastModified":"2026-06-01T09:34:27.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/ja/products/customer-data-platform/audience-studio/segment/deleting-profiles-from-real-time-segments","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}