Deactivation or Block Users after X Number of Days of Inactivity

Problem statement

This article presents the latest update regarding deactivation or blocking users after x number of days of inactivity.


As of April 2024, Auth0 will no longer support this feature out of the box.

Customers can build an application that runs daily to export the users with the export management API and filter the exported users with an old last_login field. Once the inactive users are determined by this method, the same application can block those users with Update a user management API using the following payload.

"blocked": true