deleteUser returns 204 when called twice

Hey there,

Endpoint I used: Auth0 Management API v2

I tried to delete a user and it works fine. But when I trigger it a second time I get a 204 again. I was expecting something like 400 oder 404.

Are my expectation wrong?

I used curl and also a Webflux Webclient to call the delete endpoint.

If you need more info, please let me know! Thank you!

Hi @bieber ,

Welcome to the Auth0 Community!

What you observed is the expected behavior. The delete user endpoint will return 204 with “no content” if the user does not exist.




Please let me know if any other queries about this topic. Thanks!

1 Like

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