SPA Users
SPA: Creates a new User
Creates a new user for the authenticated user's client. Password is auto-generated and sent via email. Requires ROLE_ADMIN.
POST
/api/spa/usersAuthorizations
X-AUTH-TOKEN
stringheaderrequired
Value for the X-AUTH-TOKEN header parameter.
Request Body
application/json
required
The new User resource
{
"email": "user@example.com",
"roles": [
"string"
],
"adminNote": "string",
"active": true,
"locale": "en"
}Response
201
User resource created
id
integer
email
string<email>
roles
string[]
adminNote
string | null
active
boolean
lastLoginDate
string<date-time> | null
locale
string
createdBy
string
User, created this entry
updatedBy
string
User, updated this entry
createdAt
string<date-time>
UTC date time of entry creation
updatedAt
string<date-time>
UTC date time of last entry update