Delete older (obselete) hosts with resolved issues

Hey,

When we have a bunch of servers changing frequently, due to autoscaling or blue-green deployments. After a certain point of time, there are no more errors “unresolved” from older dead hosts. Is there an API to DELETE all hosts with no “unresolved errors”?

It’d make sentry clean. And little advantage in search.

I’d love to contribute if there’s not something like this already.