How to clear device event log on the Cloud?

I am trying to clear the storage of vie the micro app with storage.clear();
but when I
curl -X GET 'https://cloud.estimote.com/v3/lte/device_events?identifier=xxxx' -u xxx -H "Accept: application/json" I get the same result as before. I tried to put it in the cloud code as well but no change.
Hardware Revision:LTE_A1.1
Firmware Version:0.1.2 ,
Hardware Revision:LTE_A1.1
Firmware Version:0.0.15

All functions in storage.* are about local storage (see docs) that allows you to persistently store data on the device itself. This data will not be erased after device resets, battery gets depleted or new micro application is installed. It has nothing to do with Cloud events (which are handled by cloud.* functions) and will certainly not erase events on the Cloud itself. Events are called events to note that they describe something that happened and are meant to keep the record of the history. They are not something you want to edit or remove. There is no function to delete events from Cloud, but you can use a set of parameters to filter them (see docs).

Also Micro-App Code and Cloud Code does not share a common API because they are executed in two different environments.

1 Like

could you please explain how i can clear data from device_events https://cloud.estimote.com/v3/lte/device_events?

Thank you

We store device events in Estimote Cloud indefinitely. You can use various filtering parameters to narrow down the list of visible device events available via API https://cloud.estimote.com/docs/#api-LTE-getDeviceEvents . Your device events are only visible to your account.

1 Like

Thank you for answer

Effective and interesting post for reading