Once a user is created, his login cannot be changed. On UI the login field is just grayed-out and non-editable. If this same functionality is exposed via REST API, what HTTP status code (and what error message) to return if someone tries to edit the user and change his login?
Share
I would say when they do the PUT to change the login return a 405 method not allowed.
You could always use a 400
You should also provide details on why they got a 405 or 400.