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
Community Members
Community Events
Community Groups

Postman - How to use wild card for deletion of Maintenace

Hello again!
I had great success with my first question about setting up Opsgenie/Postman for maintenances and ran into another issue I need help with. Beginner with postman so I'm learning, and this community has been amazing at helping me.

I can now delete/create/change etc maintenances with Postman but at face value i can only do 1 at a time. How can I delete all maintenances or only delete "type" "past" ones?

Second question I have is how to create multiple time frames in intervals? I.E. I have to mute an integration 3 times day at specific times for say 3 months. I think the best way is to use collections runs? I have yet to try it but wanted input first.


I have a feeling its somewhere in here but not sure what to us in place of id for a wildcard


1 answer

1 accepted

0 votes
Answer accepted
Agaci Avinas Atlassian Team Aug 22, 2022
I am Agaci from Atlassian support.
I understand that you would like to delete multiple maintenance at once. In this case, you'll have to make two API calls, list past maintenance and delete them by iterating through the maintenance id listed in the response. 
Regarding the second question to schedule the maintenance repeated intervals. You could either have a cron job running everyday to add the maintenance or you could create a script to loop add and all the maintenance all at once.
If you would like to learn the method to do this via postman I would suggest you to check with Postman support.

I was hoping there was a way to delete the maintenances in bulk rather than one at a time, as we have like 100+ to delete

Agaci Avinas Atlassian Team Aug 22, 2022

Hey @Derek Stevenson ,

Good day!

I understand that, unfortunately we do not have any API end point to delete the Past maintenance in bulk.

However, I have created a feature request on your behalf. You could view and vote for the feature using below link,



Suggest an answer

Log in or Sign up to answer

Atlassian Community Events