Create a new user, from username and password
POST
/admin/users
Request Body
object
username
required
string
password
required
string
Responses
200
Returns the user data
object
id
required
number
username
required
string
400
Bad request: problem processing request.
Any of:
object
error
required
object
message
required
string
type
required
string
status
required
number
object
error
required
object
message
required
string
type
required
string
status
required
number
formErrors
required
string
fieldErrors
required
object
username
string
password
string
401
Unauthorized: authentication required.
object
error
required
object
message
required
string
type
required
string
status
required
number
403
Forbidden: insufficient permissions.
object
error
required
object
message
required
string
type
required
string
status
required
number
404
Not found: resource does not exist.
object
error
required
object
message
required
string
type
required
string
status
required
number
429
Too many requests: rate limit exceeded.
object
error
required
object
message
required
string
type
required
string
status
required
number
500
Server error: something went wrong.
object
error
required
object
message
required
string
type
required
string
status
required
number