Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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
Community showcase
Published in Opsgenie

New! Investigate and re-deploy stable deployments from the Incident Investigation view in Opsgenie

We’re excited to announce the latest enhancement to Opsgenie’s Incident Investigation view. Now when an incident occurs users can select the previous stable deployment, and begin the redeployment pro...

146 views 0 3
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you