Insights Hub Workaround for Delete API Limitations

2021-01-13T13:06:38Z
APIs & Services

Summary


Details

When you say:-

I can only call the Delete API from the outside once a day and only for a period of a maximum of 7 days. 

Can this be changed or is there another option to delete data areas?

Solution

Currently, it's not possible to delete the data for more than 7 days through the API by the range request and it's mentioned in the documentation:-

The range of a delete request cannot be greater than 7 days.

https://developer.mindsphere.io/apis/iot-iottimeseries/api-iottimeseries-overview.html

Below are the two possible workarounds that you can follow:-

  1. Download the data, make the correction, and upload it again. Current data will be overridden.
    1. Delete the particular asset and create a new asset and upload the data again.

      Notes

      KB Article ID# PL8522447

      Contents

      SummaryDetails

      Associated Components

      IoT Time Series Service