How to do we retrieve the destination id of the already created destinations via api
currently only these are supported?
- Create destination
- Update destination
- Delete destination
How to do we retrieve the destination id of the already created destinations via api
currently only these are supported?
Hi,
I’ve found this workaround that can list all of the destinations available with their IDs:
Do a POST call to .opendistro-alerting-config/_search endpoint with the following query:
{ ‘size’: 10000, ‘query’: { ‘bool’: { ‘must’: { ‘exists’: { ‘field’: ‘destination’ } } } } }
Hello,
Thanks. It worked