Skip to main content
1-Visitor
March 6, 2019
Question

How to delete Alert History for a particular thing

  • March 6, 2019
  • 1 reply
  • 1103 views

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

1 reply

20-Turquoise
March 6, 2019

There is no API for purgingAlertHistory for a Thing.

Community Manager
March 14, 2019

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