Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to automate account deactivation via API

Juan Felipe Garcia
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 4, 2025

Hello Atlassian team, you've been very helpful in the past so we want to share this problem with you and ask if you have a solution for it.

 

Context

We manage a pretty big organization (thousands of licences), and to keep our account count clean we would like to implement a way to automate the licence clean up. Basically the steps would be:

1. Getting a list of all the users with their last active date.

2. Filtering that list to leave only the ones that have not been active for the last 90 days

3. Deactivating the accounts within the filtered list 

 

We were thinking of using a Python script within a Git repo integrated with our Jira to run this. But this would be a new field for us thus we've been doing it manually for the last couple of months (but believe automation is feasable)

 

If you need any clarification please let us know.

 

Thank you and regards,

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
ENTERPRISE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events