I have a policy created for a team, but I cannot add a maintenance window to enable this policy as I can for global policies, using this API: https://docs.opsgenie.com/docs/maintenance-api
I always get the response that the policy cannot be found even though I've just looked up the policy using the /v2/policies/alert?teamId=<team guid> endpoint.
Is this possible to achieve through the API, I can do it via the UI
Hi @Matt Browne ,
Yes this should be possible, but you probably want to use the API key on an API integration assigned to this same team.
Try this, and let us know whether or not that works!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.