Fixes #114. As we can not use admin credentials, we can loop through all alerts and pause/unpause them one by one. I don't see any other way as it would be useless to use admin credentials just for this. Also, in order to use admin API, username and password needs to be supplied as basic auth.
Fixes #114. As we can not use admin credentials, we can loop through all alerts and pause/unpause them one by one. I don't see any other way as it would be useless to use admin credentials just for this. Also, in order to use admin API, username and password needs to be supplied as basic auth.