How to use the API to delete a dataset from the Historian, including all related history.
⚠️ Important: The following steps will permanently delete the entire Dataset and all previously logged history. Only follow these steps if you are certain you wish to permanently delete a Dataset and all of the tags, values, and properties within the dataset. Learn how to backup your datasets here.
Navigate to your Historian and Collector
In a web browser, navigate to the Timebase Collector <YourIPAdressHere:Port>
and pause the Collector. In another tag, navigate to the Timebase Historian <YourIPAdressHere:Port>
Use the API to Delete
You can use a language like Python or even a tool like Postman to call the API.
In the menu at the top left of the browser window, select the API page. Under the Datasets list of API calls, select the dropdown for DELETE. Click the Try it out button (the "Try it out" button label will change to cancel and a blue EXECUTE button will appear below the dataset * text box). Under the label Description in the parameters section, you now have the ability to type in the text-field box. Once the dataset name is input into the Description field, click the Execute button below the dataset field. Revisit you historian
<YourIPAdressHere:Port>
. The dataset is now removed from your Timebase Historian.