Skip to main content
Mar 6, 2019 8:50 AM UTC
Question

How to delete Alert History for a particular thing

Hello,

I would like to know if there is a way to delete Alert History for a particular Thing. I can see that there is (are) service(s) like "PurgeAlertHistory" in AlertFunction Resource, but it does not take Thingname as input, and deletes the Alert History for all the Things.

If there is no service available, any inputs to create a custom service for this would also be appreciated

Thanks and Regards

Aditya Mittal

2 replies

Mar 6, 2019 7:00 PM UTC

There is no API for purgingAlertHistory for a Thing.

Mar 14, 2019 3:42 PM UTC

Hi @amittal-3.

 

If the response provided by @posipova answered your question, please mark it as the Accepted Solution for the benefit of others with the same question.

 

Regards.

 

--Sharon