Deactivate (or block) users after X number of days

I was trying to find if there was a way to deactivate (or block) accounts after a certain amount of time has passed. For example. Deactivate (or block) the user 10 days after account creation, or after certain inactivity period.

I couldn’t find anything.

Is there an approach we can take to automatically disable/deactivate users?
Besides writing our own code that would query the API for user creation date and take measures appropriately.

Primarily thinking about users stored in DB hosted by Auth0.

1 Like

Hi @zarko,

Welcome to the Community! The only to do this today is by writing your own code. We’re looking at something similar: a script that deletes orphaned user accounts that did not complete our user onboarding process.

Mark

1 Like

Suspected as much. Thanks in any case @markd

1 Like

@zarko you can always submit that as a feature request for our product team. They should reach out to you within 10 business days. Here’s the form:

1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.