Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,368,748
Community Members
 
Community Events
168
Community Groups

Using Incident API trial account

Edited

Hi,

I'm trying to resolve an incident using the Incident REST API. However I'm getting this

{ "message": "You do not have the right to use Incident API", "took": 0.063, "requestId": "8558ee08-46ee-4355-941c-db82f3900970"}

I am using the API Key I generated in the API Managament Section in the setting menu in the header of my POST request:

curl --location --request POST 'https://api.eu.opsgenie.com/v1/incidents/a77eb578-aea7-45c2-bb85-da17827d1ff7/resolve?identifierType=id' \--header 'Authorization: GenieKey XXXXXXXXX' 

Why don't I have the rights if I'm the owner user?

2 answers

1 accepted

1 vote
Answer accepted
Robert Atlassian Team Aug 12, 2020

Hi @myron lioz !

 

This sounds like it may be a plan restriction. Can you try upgrading your trial to standard or enterprise and try the request again? Here are the steps to update your trial:

https://intercom.help/opsgenie/en/articles/3505298-changing-your-trial-plan

Kate Clavet Atlassian Team Aug 12, 2020

Just a note, I updated the above post to remove the API Key :) 

Like # people like this

Thank you!

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS

Atlassian Community Events