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

Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X

How to delete Alert History for a particular thing

amittal-3
13-Aquamarine

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
posipova
20-Turquoise
(To:amittal-3)

There is no API for purgingAlertHistory for a Thing.

slangley
23-Emerald II
(To:posipova)

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

Top Tags