How to mass delete multiple user accounts

TracieMukai December 2, 2024

I just realized that when I delete a user from the "users" tab, it only shows them as "deactivated" on the "Managed Accounts" tab. I guess I should have been deleting them from the "Managed Accounts" tab instead. Is there a way to do a mass deletion of all deactivated accounts on the "Managed Accounts" tab, or do I need to do this one by one? (I want them deleted because they are no longer employed here.) 

2 answers

1 accepted

0 votes
Answer accepted
Lucas Knorr
Contributor
December 3, 2024

Hi @TracieMukai

If I have understood correctly, you want to delete the Atlassian account of users who are no longer in the company.
I would like to point out at this point that all references in the Jira tickets and Confluence pages will also be lost. If the accounts are deleted, it will no longer be possible to trace which user carried out which action.

To delete the corresponding managed accounts in bulk, you have to use this endpoint: https://developer.atlassian.com/cloud/admin/user-management/rest/api-group-lifecycle/#api-users-account-id-manage-lifecycle-delete-post

 

TracieMukai December 3, 2024

Oh shoot, that is good to know. I read that deleting an account will not remove their comments, so I thought any reference to the user would remain. Thank you for pointing this out!

0 votes
Michael Yaroshefsky - Visor for Jira
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 2, 2024

Hi @TracieMukai 

You should be able to do this by following the steps here:


https://confluence.atlassian.com/jirakb/disable-or-remove-inactive-jira-users-in-bulk-1093012826.html 

Does that help?

 

Suggest an answer

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

Atlassian Community Events