# How to delete commcare users in bulk

**URL:** <https://forum.dimagi.com/t/how-to-delete-commcare-users-in-bulk/3138>\
**Category:** Users\
**Created:** [December 15, 2016, 6:08pm UTC](https://forum.dimagi.com/t/how-to-delete-commcare-users-in-bulk/3138 "2016-12-15T18:08:03Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![nelson\_nhantumbo](https://dimagi.b-cdn.net/letter_avatar_proxy/v4/letter/n/34f0e0/32.png) [@nelson\_nhantumbo](https://forum.dimagi.com/u/nelson_nhantumbo)\
**Post date:** [December 15, 2016, 6:08pm UTC](https://forum.dimagi.com/t/how-to-delete-commcare-users-in-bulk/3138/1 "2016-12-15T18:08:03Z")

</div>

Dear all

I have created more than 600 test users for my project and now I have to  
delete them.  
It is weariful to delete one by one.  
Is there a way to delete these users in bulk?  
Any help is wellcome

Nelson

---

<div class="post-metadata">

**Author:** ![czue](https://dimagi.b-cdn.net/user_avatar/forum.dimagi.com/czue/32/493_2.png) [@czue](https://forum.dimagi.com/u/czue)\
**Post date:** [December 16, 2016, 8:04am UTC](https://forum.dimagi.com/t/how-to-delete-commcare-users-in-bulk/3138/2 "2016-12-16T08:04:45Z")

</div>

Hi Nelson,

We disallow bulk deletion because we have observed people making mistakes  
in the past that are hard to recover from. You can bulk archive/deactivate  
users by following the steps here  
[https://confluence.dimagi.com/display/commcarepublic/Create+and+Manage+CommCare+Mobile+Workers#CreateandManageCommCareMobileWorkers-D.Deactivate(Formerly"Archive")andDeleteMobileWorkers](https://confluence.dimagi.com/display/commcarepublic/Create+and+Manage+CommCare+Mobile+Workers#CreateandManageCommCareMobileWorkers-D.Deactivate(Formerly%22Archive%22)andDeleteMobileWorkers)  
.

> **···**
>
> On Thu, Dec 15, 2016 at 8:08 PM, nelson nhantumbo \< nsalomao.nhantumbo@gmail.com\> wrote:
> 
> > Dear all
> > 
> > I have created more than 600 test users for my project and now I have to  
> > delete them.  
> > It is weariful to delete one by one.  
> > Is there a way to delete these users in bulk?  
> > Any help is wellcome
> > 
> > Nelson
> > 
> > --  
> > You received this message because you are subscribed to the Google Groups  
> > "commcare-users" group.  
> > To unsubscribe from this group and stop receiving emails from it, send an  
> > email to [commcare-users+unsubscribe@googlegroups.com](mailto:commcare-users+unsubscribe@googlegroups.com).  
> > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![nelson\_nhantumbo](https://dimagi.b-cdn.net/letter_avatar_proxy/v4/letter/n/34f0e0/32.png) [@nelson\_nhantumbo](https://forum.dimagi.com/u/nelson_nhantumbo)\
**Post date:** [December 16, 2016, 9:19am UTC](https://forum.dimagi.com/t/how-to-delete-commcare-users-in-bulk/3138/3 "2016-12-16T09:19:23Z")

</div>

Hi Cory

Thanks for clarifying

I definetely need to delete them as I have more than 500 users above those  
allowed on my plan-advanced (1000 users).

Best

> **···**
>
> 2016-12-16 10:04 GMT+02:00 Cory Zue :
> 
> > Hi Nelson,
> > 
> > We disallow bulk deletion because we have observed people making mistakes  
> > in the past that are hard to recover from. You can bulk archive/deactivate  
> > users by following the steps here  
> > [https://confluence.dimagi.com/display/commcarepublic/Create+and+Manage+CommCare+Mobile+Workers#CreateandManageCommCareMobileWorkers-D.Deactivate(Formerly"Archive")andDeleteMobileWorkers](https://confluence.dimagi.com/display/commcarepublic/Create+and+Manage+CommCare+Mobile+Workers#CreateandManageCommCareMobileWorkers-D.Deactivate(Formerly%22Archive%22)andDeleteMobileWorkers)  
> > .
> > 
> > On Thu, Dec 15, 2016 at 8:08 PM, nelson nhantumbo \< [nsalomao.nhantumbo@gmail.com](mailto:nsalomao.nhantumbo@gmail.com)\> wrote:
> > 
> > > Dear all
> > > 
> > > I have created more than 600 test users for my project and now I have to  
> > > delete them.  
> > > It is weariful to delete one by one.  
> > > Is there a way to delete these users in bulk?  
> > > Any help is wellcome
> > > 
> > > Nelson
> > > 
> > > --  
> > > You received this message because you are subscribed to the Google Groups  
> > > "commcare-users" group.  
> > > To unsubscribe from this group and stop receiving emails from it, send an  
> > > email to [commcare-users+unsubscribe@googlegroups.com](mailto:commcare-users+unsubscribe@googlegroups.com).  
> > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > 
> > --  
> > You received this message because you are subscribed to a topic in the  
> > Google Groups "commcare-users" group.  
> > To unsubscribe from this topic, visit [https://groups.google.com/d/](https://groups.google.com/d/)  
> > topic/commcare-users/ZaBm2mgb7zQ/unsubscribe.  
> > To unsubscribe from this group and all its topics, send an email to  
> > [commcare-users+unsubscribe@googlegroups.com](mailto:commcare-users+unsubscribe@googlegroups.com).  
> > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![nelson\_nhantumbo](https://dimagi.b-cdn.net/letter_avatar_proxy/v4/letter/n/34f0e0/32.png) [@nelson\_nhantumbo](https://forum.dimagi.com/u/nelson_nhantumbo)\
**Post date:** [December 16, 2016, 11:26am UTC](https://forum.dimagi.com/t/how-to-delete-commcare-users-in-bulk/3138/4 "2016-12-16T11:26:41Z")

</div>

Thats Great

Thanks a lot

Nelson

> **···**
>
> 2016-12-16 10:04 GMT+02:00 Cory Zue :
> 
> > Hi Nelson,
> > 
> > We disallow bulk deletion because we have observed people making mistakes  
> > in the past that are hard to recover from. You can bulk archive/deactivate  
> > users by following the steps here  
> > [https://confluence.dimagi.com/display/commcarepublic/Create+and+Manage+CommCare+Mobile+Workers#CreateandManageCommCareMobileWorkers-D.Deactivate(Formerly"Archive")andDeleteMobileWorkers](https://confluence.dimagi.com/display/commcarepublic/Create+and+Manage+CommCare+Mobile+Workers#CreateandManageCommCareMobileWorkers-D.Deactivate(Formerly%22Archive%22)andDeleteMobileWorkers)  
> > .
> > 
> > On Thu, Dec 15, 2016 at 8:08 PM, nelson nhantumbo \< [nsalomao.nhantumbo@gmail.com](mailto:nsalomao.nhantumbo@gmail.com)\> wrote:
> > 
> > > Dear all
> > > 
> > > I have created more than 600 test users for my project and now I have to  
> > > delete them.  
> > > It is weariful to delete one by one.  
> > > Is there a way to delete these users in bulk?  
> > > Any help is wellcome
> > > 
> > > Nelson
> > > 
> > > --  
> > > You received this message because you are subscribed to the Google Groups  
> > > "commcare-users" group.  
> > > To unsubscribe from this group and stop receiving emails from it, send an  
> > > email to [commcare-users+unsubscribe@googlegroups.com](mailto:commcare-users+unsubscribe@googlegroups.com).  
> > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > 
> > --  
> > You received this message because you are subscribed to a topic in the  
> > Google Groups "commcare-users" group.  
> > To unsubscribe from this topic, visit [https://groups.google.com/d/](https://groups.google.com/d/)  
> > topic/commcare-users/ZaBm2mgb7zQ/unsubscribe.  
> > To unsubscribe from this group and all its topics, send an email to  
> > [commcare-users+unsubscribe@googlegroups.com](mailto:commcare-users+unsubscribe@googlegroups.com).  
> > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Lauren\_Fox](https://dimagi.b-cdn.net/letter_avatar_proxy/v4/letter/l/3e96dc/32.png) [@Lauren\_Fox](https://forum.dimagi.com/u/Lauren_Fox)\
**Post date:** [December 16, 2016, 10:23am UTC](https://forum.dimagi.com/t/how-to-delete-commcare-users-in-bulk/3138/5 "2016-12-16T10:23:08Z")

</div>

Hey nelson,

I just confirmed and you should be able to just _deactivate_ these test  
users instead of delete. Only 'active' users count towards the subscription  
limit for mobile workers. Check out the link that Cory sent to do this  
action in bulk.

Lauren

_Lauren N. Fox_  
Dimagi, Inc.  
RPCV Mozambique '07-'11

RSA: +27 (0) 81 831 4290  
Moz: +258 82 78 49 245  
[dimagi.com](http://dimagi.com) [http://www.dimagi.com/](http://www.dimagi.com/) \*| \*[commcarehq.org](http://commcarehq.org)

**We're Hiring! Apply here [http://www.dimagi.com/about/careers/](http://www.dimagi.com/about/careers/)**

> **···**
>
> On Fri, Dec 16, 2016 at 11:19 AM, nelson nhantumbo \< nsalomao.nhantumbo@gmail.com\> wrote:
> 
> > Hi Cory
> > 
> > Thanks for clarifying
> > 
> > I definetely need to delete them as I have more than 500 users above those  
> > allowed on my plan-advanced (1000 users).
> > 
> > Best
> > 
> > 2016-12-16 10:04 GMT+02:00 Cory Zue [czue@dimagi.com](mailto:czue@dimagi.com):
> > 
> > > Hi Nelson,
> > > 
> > > We disallow bulk deletion because we have observed people making mistakes  
> > > in the past that are hard to recover from. You can bulk archive/deactivate  
> > > users by following the steps here  
> > > [https://confluence.dimagi.com/display/commcarepublic/Create+and+Manage+CommCare+Mobile+Workers#CreateandManageCommCareMobileWorkers-D.Deactivate(Formerly"Archive")andDeleteMobileWorkers](https://confluence.dimagi.com/display/commcarepublic/Create+and+Manage+CommCare+Mobile+Workers#CreateandManageCommCareMobileWorkers-D.Deactivate(Formerly%22Archive%22)andDeleteMobileWorkers)  
> > > .
> > > 
> > > On Thu, Dec 15, 2016 at 8:08 PM, nelson nhantumbo \< [nsalomao.nhantumbo@gmail.com](mailto:nsalomao.nhantumbo@gmail.com)\> wrote:
> > > 
> > > > Dear all
> > > > 
> > > > I have created more than 600 test users for my project and now I have to  
> > > > delete them.  
> > > > It is weariful to delete one by one.  
> > > > Is there a way to delete these users in bulk?  
> > > > Any help is wellcome
> > > > 
> > > > Nelson
> > > > 
> > > > --  
> > > > You received this message because you are subscribed to the Google  
> > > > Groups "commcare-users" group.  
> > > > To unsubscribe from this group and stop receiving emails from it, send  
> > > > an email to [commcare-users+unsubscribe@googlegroups.com](mailto:commcare-users+unsubscribe@googlegroups.com).  
> > > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > > 
> > > --  
> > > You received this message because you are subscribed to a topic in the  
> > > Google Groups "commcare-users" group.  
> > > To unsubscribe from this topic, visit [https://groups.google.com/d/to](https://groups.google.com/d/to)  
> > > pic/commcare-users/ZaBm2mgb7zQ/unsubscribe.  
> > > To unsubscribe from this group and all its topics, send an email to  
> > > [commcare-users+unsubscribe@googlegroups.com](mailto:commcare-users+unsubscribe@googlegroups.com).  
> > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > 
> > --  
> > You received this message because you are subscribed to the Google Groups  
> > "commcare-users" group.  
> > To unsubscribe from this group and stop receiving emails from it, send an  
> > email to [commcare-users+unsubscribe@googlegroups.com](mailto:commcare-users+unsubscribe@googlegroups.com).  
> > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![nelson\_nhantumbo](https://dimagi.b-cdn.net/letter_avatar_proxy/v4/letter/n/34f0e0/32.png) [@nelson\_nhantumbo](https://forum.dimagi.com/u/nelson_nhantumbo)\
**Post date:** [December 16, 2016, 11:20am UTC](https://forum.dimagi.com/t/how-to-delete-commcare-users-in-bulk/3138/6 "2016-12-16T11:20:42Z")

</div>

Great

Thanks for this

My holidays a back

😁😂😁

> **···**
>
> 2016-12-16 12:23 GMT+02:00 Lauren Fox :
> 
> > Hey nelson,
> > 
> > I just confirmed and you should be able to just _deactivate_ these test  
> > users instead of delete. Only 'active' users count towards the subscription  
> > limit for mobile workers. Check out the link that Cory sent to do this  
> > action in bulk.
> > 
> > Lauren
> > 
> > _Lauren N. Fox_  
> > Dimagi, Inc.  
> > RPCV Mozambique '07-'11
> > 
> > RSA: +27 (0) 81 831 4290  
> > Moz: +258 82 78 49 245  
> > [dimagi.com](http://dimagi.com) [http://www.dimagi.com/](http://www.dimagi.com/) \*| \*[commcarehq.org](http://commcarehq.org)
> > 
> > **We're Hiring! Apply here [http://www.dimagi.com/about/careers/](http://www.dimagi.com/about/careers/)**
> > 
> > On Fri, Dec 16, 2016 at 11:19 AM, nelson nhantumbo \< [nsalomao.nhantumbo@gmail.com](mailto:nsalomao.nhantumbo@gmail.com)\> wrote:
> > 
> > > Hi Cory
> > > 
> > > Thanks for clarifying
> > > 
> > > I definetely need to delete them as I have more than 500 users above  
> > > those allowed on my plan-advanced (1000 users).
> > > 
> > > Best
> > > 
> > > 2016-12-16 10:04 GMT+02:00 Cory Zue [czue@dimagi.com](mailto:czue@dimagi.com):
> > > 
> > > > Hi Nelson,
> > > > 
> > > > We disallow bulk deletion because we have observed people making  
> > > > mistakes in the past that are hard to recover from. You can bulk  
> > > > archive/deactivate users by following the steps here  
> > > > [https://confluence.dimagi.com/display/commcarepublic/Create+and+Manage+CommCare+Mobile+Workers#CreateandManageCommCareMobileWorkers-D.Deactivate(Formerly"Archive")andDeleteMobileWorkers](https://confluence.dimagi.com/display/commcarepublic/Create+and+Manage+CommCare+Mobile+Workers#CreateandManageCommCareMobileWorkers-D.Deactivate(Formerly%22Archive%22)andDeleteMobileWorkers)  
> > > > .
> > > > 
> > > > On Thu, Dec 15, 2016 at 8:08 PM, nelson nhantumbo \< [nsalomao.nhantumbo@gmail.com](mailto:nsalomao.nhantumbo@gmail.com)\> wrote:
> > > > 
> > > > > Dear all
> > > > > 
> > > > > I have created more than 600 test users for my project and now I have  
> > > > > to delete them.  
> > > > > It is weariful to delete one by one.  
> > > > > Is there a way to delete these users in bulk?  
> > > > > Any help is wellcome
> > > > > 
> > > > > Nelson
> > > > > 
> > > > > --  
> > > > > You received this message because you are subscribed to the Google  
> > > > > Groups "commcare-users" group.  
> > > > > To unsubscribe from this group and stop receiving emails from it, send  
> > > > > an email to [commcare-users+unsubscribe@googlegroups.com](mailto:commcare-users+unsubscribe@googlegroups.com).  
> > > > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > > > 
> > > > --  
> > > > You received this message because you are subscribed to a topic in the  
> > > > Google Groups "commcare-users" group.  
> > > > To unsubscribe from this topic, visit [https://groups.google.com/d/to](https://groups.google.com/d/to)  
> > > > pic/commcare-users/ZaBm2mgb7zQ/unsubscribe.  
> > > > To unsubscribe from this group and all its topics, send an email to  
> > > > [commcare-users+unsubscribe@googlegroups.com](mailto:commcare-users+unsubscribe@googlegroups.com).  
> > > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > > 
> > > --  
> > > You received this message because you are subscribed to the Google Groups  
> > > "commcare-users" group.  
> > > To unsubscribe from this group and stop receiving emails from it, send an  
> > > email to [commcare-users+unsubscribe@googlegroups.com](mailto:commcare-users+unsubscribe@googlegroups.com).  
> > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > 
> > --  
> > You received this message because you are subscribed to a topic in the  
> > Google Groups "commcare-users" group.  
> > To unsubscribe from this topic, visit [https://groups.google.com/d/](https://groups.google.com/d/)  
> > topic/commcare-users/ZaBm2mgb7zQ/unsubscribe.  
> > To unsubscribe from this group and all its topics, send an email to  
> > [commcare-users+unsubscribe@googlegroups.com](mailto:commcare-users+unsubscribe@googlegroups.com).  
> > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
