Users
Last updated on 13-May-2020 by Jakob Jakobsen Boysen
![](/images/jjb.png)
On this page
This endpoint is primarily used for manipulating the currently logged on user. Administrators have broader access, e.g. for creating users.
Get current user
GET /api/user
Get the currently logged on user.
Update user
PUT /api/user
Update the user specified in the request object. Non-admin users can only update their own user, whereas the
Request
A JSON object with the properties to update.
Change password
POST /api/user/password/change
Change the password for the currently logged on user.
Request
An object with the new password (repeated) and the current password:
{
"password": "string", // new password
"repeatPassword": "string", // repeated new password
"confirmPassword": "string" // current password
}