user

Create user

This can only be done by a logged in user who has the required privileges.

post/users

Request body

usernamestring required

Username as an email address

firstnamestring required

firstname

lastnamestring required

lastname

passwordstring

password

status'active' | 'pending' | 'disabled'
role'ADMIN' | 'USER' required
confirmedboolean

true, if the confirmation link/email has been triggered

imgstring

url to user image

Response

Id of created user

{"stackTrail":"paths:/users:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}

Changes