Creates a new user
- POST /users
Creates a new user.
Request body
Responses
User successfully created
- The provided user name is invalid. Check that it is not empty and it does not contain special characters. (code:
user.user_name.invalid) - Some of the provided roles are invalid. (code:
user.roles.invalid) - Some of the provided roles are forbidden. (code:
user.roles.forbidden) - Trying to set a restricted field. (code:
user.restricted_field)
The username is already in use. (code: user.user_name.conflict)