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,366,107
Community Members
 
Community Events
168
Community Groups

Update subscription plan over API

How to add 1 seat for OpsGenie over API?
Now I adding here https://app.opsgenie.com/settings/billing/subscription over web, but I need over API

1 answer

1 accepted

0 votes
Answer accepted

Hi Mikhail,

I am sorry to say what you are asking for is not possible via the API, subscriptions and plans are not manageable via the Opsenie API.   The "Account API" only provides a "get" method, by design we have not included any "set" no method in the API.  You can use https://docs.opsgenie.com/docs/account-api to construct logic in a script, if your userCount value is close to exceeding the maxUserCount value, send "create alert" using Alert API https://docs.opsgenie.com/docs/alert-api#create-alert.

Thanks and kind regards,

Allen Barnard

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events