{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":["admonition"]},"redocly_category":"Products","product_name":"Treasure Insights","type":"markdown"},"seo":{"title":"Delete an Insights Model Dataset","description":"Learn how to permanently delete an Insights Model dataset using the API, including regional endpoint selection and important deletion considerations.","siteUrl":"https://docs.treasure.ai","lang":"en-US","jsonLd":{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://www.treasure.ai/","name":"Treasure AI","url":"https://www.treasure.ai/","logo":"https://www.treasure.ai/hubfs/assets/images/logos/primary-logo.svg"},{"@type":"WebSite","@id":"https://docs.treasure.ai/#website","name":"Treasure AI Documentation","url":"https://docs.treasure.ai/","inLanguage":["en","ja"],"publisher":{"@id":"https://www.treasure.ai/"}}]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"delete-an-insights-model-dataset","__idx":0},"children":["Delete an Insights Model Dataset"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["All table and column configurations defined in the dataset are removed when you delete the dataset."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["For the API endpoint, select the appropriate ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/apis/endpoints/endpoints"},"children":["endpoint for your region"]},"."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Call ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["DELETE /reporting/datamodels/{datamodel_id}/datasets/{dataset_id}"]},"."]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"curl -X DELETE https://<api endpoint>/reporting/datamodels/xxxxxx/datasets/yyyyyy \\\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":"warning"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["You cannot reuse a dataset name after deletion. If you attempt to create a dataset with the same name, the API returns ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"<dataset_name> is duplicated\""]},". Choose a new name instead."]}]}]},"headings":[{"value":"Delete an Insights Model Dataset","id":"delete-an-insights-model-dataset","depth":1}],"frontmatter":{"seo":{"title":"Delete an Insights Model Dataset","description":"Learn how to permanently delete an Insights Model dataset using the API, including regional endpoint selection and important deletion considerations."}},"lastModified":"2026-06-17T07:22:53.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/products/customer-data-platform/treasure-insights/delete-an-insights-model-dataset","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}