Hello all! I'm trying to be able to use Postman to create maintenance windows for our instances. I'm does not very familiar with Postman and am not having any luck. I have tried to follow this but I still get 401 error when trying to run it, any help would be appreciated. I think I just have the wrong genie key or API?
Hi @Derek Stevenson ,
Listing global maintenance policies should require no more than this request:
The API key being used in my example is from a global API integration - meaning it's not assigned to any team. You should also be able to use an API key from the API key management tab.
If your Opsgenie is an EU instance, then you'll want to use the URL: https://api.eu.opsgenie.com/v1/maintenance
If that's the case, then using the US URL would probably show a 401 error.