Cannot delete detectors

Hello @jst

I had the same issue Issue with Scheduled job for detectors
I opened a topic before finding this, turns out you can’t find the detector through the API without using the security admin to make the request

search action for .opendistro-alerting-config is not allowed for a non adminDN user

If you use

https://localhost:9200/.opendistro-alerting-config/_search

with the security admin account you should find it. If you have any about the other issue I have in my topic I’ll gladly take the input.