API User deletion

Hi all,

Just got one doubt. I have a demand to user deletion that did not log in like <7 days.
Is there an API or something that somehow I can control it so the users can be deleted automatically if the criteria fits?

Hi @felipe.gimenes

You can do this via the management API. That allows full control over users.
You would have to write a script that contains your business logic (the not log in for 7 days) and calls the management API to delete those users.

I would suggest, do to API rate limiting, that you export all users once a week and use that to feed your script, rather than querying user data via the management API.