I’m using a “custom” database, MongoDB to store users, and they’re showing up in the “User Management”.
I click delete on the user and get “Error: There was a problem deleting theemail@domain.com”
I google and find this: Can't delete a user - #2 by stephanie.chamblee which tells me to use this endpoint:
DELETE/api/v2/connections/{id}/users
So I get my api token and put it in the “Set api token” button. I enter the ID of the user, and click “TRY” underneath “test this endpoint”. My result is this:
request URL: https://dev-ezr1rrj6.us.auth0.com/api/v2/connections/61f835e5b411680011aa7dc0/users?email=the-email%40gmail.com
Response code: 400
Error: bad request
something about needing a connection id.
So I go and find the database connection id. enter that, and try deleting the user and I get 204 no content.
this is unbelievable it shouldn’t be this hard to delete a user.