Search code examples
javaspringwebhooksauth0

Is there any hook or call back when a user is deleted from auth0 dashboard?


Is there any, way to create hook or call back that Auth0 will trigger once a user is deleted using the auth0 dashboard?

Thanks


Solution

  • No, such a feature does not exist today (26/09/2017). However, you are free to write your own API for example, that will retrieve an API Management v2 token, use that to call Auth0 API and delete a user, then perform whatever (web) hook operation you had in mind. Make sense?

    If you can explain further your scenario, and why you were asking for such a feature, may be able to offer an alternative that addresses your requirements.. Please leave me comments below if you like.

    Ok, based on your last round of comments - please take a look at Auth0 Custom DB Connection. This might be what you are looking for - note here, the specific questions you are asking would make more sense where you are NOT migrating your users over to Auth0 if you wish to use the Dashboard for delete operations. For an Auth0 custom db connection, where you are not migrating users, then you can write a Delete script that would be triggered from dashboard.

    enter image description here