users
Update a user
Update user details. A regular user account can only update his details. A regular user account cannot change their username or role. Access policy: authenticated
put/users/{id}
Path parameters
idinteger required
User identifier
Request body
Example request
{
"NewPassword": "asfj2emv",
"Password": "cg9Wgky3",
"Role": 2,
"Theme": {
"color": "dark"
},
"UseCache": true,
"Username": "bob"
}Response
Success
Example response
{
"Id": 1,
"ThemeSettings": {
"color": "dark"
},
"TokenIssueAt": 1,
"UseCache": true,
"Username": "bob"
}