SPA Users
SPA: Updates a User
Updates an existing user. Requires ROLE_ADMIN.
PATCH
/api/spa/users/{id}Authorizations
X-AUTH-TOKEN
stringheaderrequired
Value for the X-AUTH-TOKEN header parameter.
Path Parameters
id
stringrequired
User identifier
Request Body
application/json
required
The updated User resource
{
"email": "user@example.com",
"roles": [
"string"
],
"adminNote": "string",
"active": true,
"locale": "en"
}Response
200
User resource updated
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