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}
Request
- Base URL/api (relative, and the document was published on a file host, not at the API’s origin)
- URL/api/users/{id}
- Auth
- API key in header X-API-KEY
- or API key in header Authorization
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"
}Changes
No recorded changes to this operation across all 21 revisions of this API.