Hi All,

In SCIM /Me endpoint, an authenticated user should be able to delete
himself as mentioned in specification [1]. However when I try to do that
using the current user core, I get a user store exception saying
'LoggedInUser Cannot delete logged in user'.

One way of how I can handle this is , as mentioned in specification itself
[2], can respond to HTTP DELETE on /Me endpoint with a HTTP status code 501
as we can not support it. Or else is there any other good way of handling
this ?

Any thoughts on this is highly appreciated.

[1] https://tools.ietf.org/html/rfc7644#section-3.2
[2] https://tools.ietf.org/html/rfc7644#section-3.11
-- 
*Vindula Jayawardana*
Trainee Software Engineer
Mobile : +94 713 462554
Email : [email protected]
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to