user

Update user

This function is an API endpoint that updates a user.<br> Normal user can only update themselves, admin can update any user.<br>

Parameters

  • request: A JSON object containing the updated user information.

Returns

If successful, this function returns a Json<UsersResponse> object containing the updated user information.

put/api/user

Request body

uuidstring required
namestring nullable
passwordstring nullable
confirm-passwordstring nullable
emailstring nullable
is_adminboolean nullable
group_namestring nullable
notestring nullable
statusinteger nullable

Response

msgstring required
totalinteger required
datastring required

Changes

Changed in 3 of the 11 revisions of this API.114