IEEE-VIT / REST_API

Welcome to Source Sprint's back-end repository! A beginner friendly repository to help users learn and contribute towards open source
MIT License
1 stars 8 forks source link

Delete User (DELETE) #5

Open IshaanKMathur opened 1 year ago

IshaanKMathur commented 1 year ago

Protected Route

You don't want inactive users not being able to delete their accounts. So, create a route which allows the logged-in user to be deleted from the database. Return a json message after user has been deleted from db.