cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

How to delete Alert History for a particular thing

Highlighted
Level 9

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 2

Re: How to delete Alert History for a particular thing

There is no API for purgingAlertHistory for a Thing.

Re: How to delete Alert History for a particular thing

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