# Create a rule to delete inactive users in Auth0

**URL:** <https://community.auth0.com/t/create-a-rule-to-delete-inactive-users-in-auth0/108365>\
**Category:** Get Help\
**Tags:** user-import-export, user-management\
**Created:** [June 1, 2023, 9:44pm UTC](https://community.auth0.com/t/create-a-rule-to-delete-inactive-users-in-auth0/108365 "2023-06-01T21:44:39Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![sean.mccamphill](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/sean.mccamphill/32/47723_2.png) [@sean.mccamphill](https://community.auth0.com/u/sean.mccamphill)\
**Post date:** [June 2, 2023, 8:44am UTC](https://community.auth0.com/t/create-a-rule-to-delete-inactive-users-in-auth0/108365/2 "2023-06-02T08:44:22Z")

</div>

Hi @dkim - Auth0 rules are used in our authentication pipeline to help add functionality and create the extensible Auth0 pipeline so unfortunately it is not possible to create rule to delete users automatically.

[This post](https://community.auth0.com/t/how-to-automate-user-delete/61936/2) talks to how this could be scripted if that’s suitable for your use.

Thanks!

Seán

---

_[View the full topic](https://community.auth0.com/t/create-a-rule-to-delete-inactive-users-in-auth0/108365)._
