{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-@l10n/ja/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":["admonition"]},"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":["テーブルを削除すると、そのテーブルで定義されていたすべての列設定が削除されます。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["#DELETE /reporting/datamodels/{datamodel_id}/datasets/{datasets_id}/tables/{tables_id} を呼び出します。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["APIエンドポイントについては、",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/apis/endpoints/endpoints"},"children":["お使いの地域に適したエンドポイント"]},"を選択してください。"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"curl -X DELETE https://<api endpoint>/reporting/datamodels/xxxxxx/datasets/yyyyyy/tables/zzzzzz \\\n  -H 'authorization: TD1 xxxx/xxxxxxxxxxxxxx' \\\n  -H 'cache-control: no-cache' \\\n  -H 'accept: application/json'\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["削除するテーブルで定義されているリレーションを考慮してください。テーブルが削除された後もリレーション定義は残ります。これにより、Insightsモデルのビルドに失敗する可能性があります。これを回避するには、テーブルを削除する前に",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/products/customer-data-platform/treasure-insights/update-an-insights-model-relation"},"children":["データモデルリレーションの更新"]},"を確認してください。"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"datasets_idとtables_idの取得","__idx":1},"children":["datasets_idとtables_idの取得"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["/reporting/datamodels/{datamodel_id}"]}," へGETリクエストを実行します"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["返されたペイロードの",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["datasets"]},"セクションを確認して、削除する必要があるテーブルのdatasets_idとtables_idを取得します。"]}]}]},"headings":[{"value":"テーブルの削除","id":"テーブルの削除","depth":1},{"value":"datasets_idとtables_idの取得","id":"datasets_idとtables_idの取得","depth":2}],"frontmatter":{"seo":{"title":"テーブルの削除"}},"lastModified":"2026-03-10T06:17:28.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/ja/products/customer-data-platform/treasure-insights/delete-a-table","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}