DEV Community

Discussion on: An online shop API Node js 🤩

Collapse
guzzur profile image
Felix Razykov

So anyone logged in can just DELETE /users/:anyUserId?

Collapse
said_mounaim profile image
Said Mounaim Author

Yeaah should not, it's my faut i will fix it today
User can delete just own account

Collapse
said_mounaim profile image
Said Mounaim Author

Done, now user can delete & update own account