...
URL | openspecimen/rest/ng/users/1 | |||||||||
Method | PUT | |||||||||
Request | application/json | |||||||||
json | {
| |||||||||
Response |
|
Error Cases :
code | Applies to | Status Message |
---|---|---|
200 | All resources | User Role has been updated assigned successfully to user |
400 | All requests | Invalid parameters, e.g duplicate login name, duplicate email address, blank first name site, cp, role etc |
401 | All requests | Authorization failed, user doesn’t have authority to assign role |
404 | All requests | User not found, user with given details not present in the system |
500 | All requests | Internal server error, encountered server error while performing operations |
...