issues
search
a-n-u-p-01
/
Journal-Rest-API
Open to contribute, improve your debug skill by contributing this project. Thank you!
6
stars
1
forks
source link
Handle deletion of non-existing and ADMIN users
#3
Closed
Guhapriya01
closed
2 weeks ago
Guhapriya01
commented
2 weeks ago
Enhanced the user deletion functionality to handle cases where the user does not exist or is an ADMIN.
Returns a
404 Not Found
status if the user does not exist.
Returns a
403 Forbidden
status if an attempt is made to delete an ADMIN user.
404 Not Found
status if the user does not exist.403 Forbidden
status if an attempt is made to delete an ADMIN user.