This API request allows you to register new users.
NOTE: only users with 'ADMIN' role are capable to register new users.

Some rules for data which should be sent in request:

  1. 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
  2. Email must not begin with the special characters, must contain domain name and must contain '@' symbol
  3. Role of the user could have only following values: 'ADMIN', 'EDITOR', 'USER'

Response status codes:
201 - user successfully registered
400 - you specified invalid information, please review request data
401 - you are not authorized
422 - user with given username already exists
500 - if unhandled and unexpected exception happened

Language
Authorization
OAuth2
Click Try It! to start a request and see the response here!