Update subscription plan over API

Mikhail December 4, 2020

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
Allen Barnard
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 7, 2020

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
AUG Leaders

Atlassian Community Events