Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
badges earned

Your Points Tracker
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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

Opsgenie automation


I am trying to update a "rotation" under "schedule" using API call with no success.

I can GET/POST but cannot PATCH/PUT.

I get "Request method 'PATCH' not supported"


"Request method 'PUT' not supported"


This is the request I am trying to call:

curl -v -X PATCH \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "Authorization: GenieKey <mykey>" \
-d '{
"name": "rotname",
"startDate": "2021-03-23T15:00:00Z",
"endDate": "2021-03-23T21:00:00Z",
"type": "daily",
"length": 1,
"participants": [
"type": "user",
"id": "<user-id>"
' "<schedule-id>/rotations/"


Hope you can help me.

2 answers

1 vote
Nick H Atlassian Team Mar 23, 2021

Hi @Daniel Wor ,

I think your URL is missing the ID of the rotation which is causing that response of PUT and PATCH not supported:

Below is a test of replacing User 1 with User 6 in my test schedule. Note that in my PATCH request I have the rotation ID in my URL so it looks something like:



Hope this helps! Let us know if you have any additional questions, issues, etc.

@Daniel Wor ,

You can also do that using Lamp ( Lamp is a Go based command line utility to interact with Opsgenie service. It provides capabilities to create and close alerts, attach files, etc..)

See more:

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Opsgenie

Investigate deployment-related incidents with Bamboo and Opsgenie together

Back in April of last year one of the major product announcements from Opsgenie was the launch of the Incident investigation view which created a deep connection between Bitbucket and Opsgenie, empow...

1,469 views 1 5
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