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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


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

How can i delete all unverified users in opsgenie via API?

I have 30-40 unverified users, and delete one by one a very long time...

2 answers

We actually wrote a script to do this every 6 months.  When you pull down a list of all users, verified should be a field you could sort on from the payload (example payload).  Then just delete that subset of users through the API.

Hi, can you pls send an example script?

1 vote
Hana Kučerová Community Leader Aug 08, 2021

Hi @Pavel Korostelev ,

welcome to the Atlassian Community!

It looks like there's REST API endpoint for this, see here, section Delete User.

Please be aware I've never tested it myself.

Hi @Hana Kučerová  i need delete 40 unverified users by one click (one curl run)

Hana Kučerová Community Leader Aug 09, 2021

Hi @Pavel Korostelev ,

I don't think that's possible, I didn't find any endpoint for bulk delete.

You would probably need to:

  • send GET request to get all unverified users
  • go through all the unverified users
    • send DELETE request for each user 
Like Steffen Opel _Utoolity_ likes this

Suggest an answer

Log in or Sign up to answer

Atlassian Community Events