put https://example.com/v1/user
This API request allows you to modify information about user.
If you do not want update some information - use information which you specified during registration.
Some rules for data which should be sent in request:
- Password must contain at least one upper case letter, at least one lower case letter, at least one number, at least one special character (e.g. $, @, +, :, ;, #, _) and have a length greater or equal to 8 characters
- Email must not begin with the special characters, must contain domain name and must contain '@' symbol
- Role of the user could have only following values: 'ADMIN', 'EDITOR', 'USER'
Response status codes:
200 - user successfully updated
400 - you specified invalid information, please review request data
401 - you are not authorized
422 - user with given ID doesn't exists or specified username already in use
500 - if unhandled and unexpected exception happened