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

Bulk remove users from Confluence?

TNTP Feb 15, 2012

I have copied over our production instance of Confluence to a sandbox environment in preparation for upgrading to Confluence 4.0. This, of course, includes the entire directory of users who have access to our Confluence production instance.

I need to keep email notifications on in the sandbox for testing purposes, but don't want users who are not participating in the testing to get notifications from this environment. What I'd like to do is bulk remove all users from the test instance and manually add in about 10 people who will actually do the testing.


Is there a way to bulk remove users? We have about 600 active users, so I don't want to remove them manually.

3 answers

1 accepted

3 votes
Answer accepted

Confluence Command Line Interface removeUser action together with runFromSql or runFromCsv.

Kjell Lauren Sep 19, 2012

Would there be some example of how to use the removeUser?

Or even better, is there a macro or plugin that could be used for bulk remove/deactivate users?

1 vote
Nathan Chere May 15, 2013

1) The link is dead.

2) Needing to pay for a plugin to do this is a cop-out.

3) The plugin, as far as I can tell, is no longer supported anyway.

This is a pain to deal with manually. How hard can it be to have a bulk disable screen where you check boxes or something and do them all in one batch instead of having to page through 800 odd users, open their details one by one and disable them manually?

Side-note: my original answer was more diplomatic but when you type in an answer then click the "log in or sign up to post" button, the subsequent login page doesn't take you back to the page you came from and you lose what you typed.

  1. Link updated. Atlassian has removed the old Plugin Studio, so old links will not re-direct anymore :(.
  2. You can do similar programming without cost. But the thing is it can be done if you want a solution. And you can certainly complain to Atlassian about the lack of a built in UI for it.
  3. Confluence CLI is supported.
1 vote
Annicka Rosengren May 15, 2013


We have a plugin that could be used for this purpose. It s also good to have in the future to ensure only active users have an active confluence license.

You can read more here:



Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Confluence

6 Awesome Ways to Apply Trello, JIRA and Confluence to your Project

I attended  Atlassian Summit 2019  and learned a lot from the presenters, attendees and knowledgeable Atlassian product managers. The presentations I attended focused on applying Agile, pla...

853 views 6 16
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