Auth0 Home Blog Docs

Auth0 Management api v2 delete returning incorrect 204 status code

management-api
delete-user
code

#1

Hi

I am using the delete method at

https://auth0.com/docs/api/management/v2#!/Users/delete_users_by_id

I have tried this in code and with postman.

I send a delete request which correctly deletes a current user, however, I am getting an incorrect response code 204…

204 = user no longer exists ???

is this a bug ?


#2

That is the expected response. Please review the Response Messages for the endpoint:
https://auth0.com/docs/api/management/v2#!/Users/delete_users_by_id


#3

ouch, thanks :slight_smile:


#4

ouch, thanks :slight_smile:


#5