Delete a user who is an owner and edited a space.

I need to delete employees as they wont have access and so that their name is out of the system.  I can disable a user, but i cant delete them since they added pages and spaces.  How can i accomplish this?

2 answers

Hi Alex,

If this user has edited any content on the system, you won't be able to delete him/her. But only deactivate.

If this user has only created content, then you can associate all content created to another user and then delete him/her.

Please let us know if this helps you.

Cheers!

We've done this several times when we wanted to assign content to another LDAP user. This is our process:

  • Backup the database
  • Create a temporary user in Confluence (tmp_user)
  • Assign all content created by the user to delete (del_user) to tmp_user
update content set creator = 'tmp_user' where creator = 'del_user';
update content set lastmodifier = 'tmp_user' where lastmodifier = 'del_user';
  • Delete del_user in Confluence
  • Synchronize the target LDAP (ldap_user) user with Confluence
  • Revert the changes above
update content set creator = 'ldap_user' where creator = 'tmp_user';
update content set lastmodifier = 'ldap_user' where lastmodifier = 'tmp_user';
  • remove the tmp_user from Confluence

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

385 views 21 10
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you