user
Create a user.
With enabled registration: non admin users can be created without authentication. With disabled registrations: users can only be created by admin users.
Requires elevated authentication.
post/user
Request body
Example request
{
"admin": true,
"name": "unicorn",
"pass": "nrocinu"
}Response
Ok
Example response
{
"admin": true,
"createdAt": "2019-01-01T00:00:00Z",
"id": 25,
"name": "unicorn"
}