Skip to content

Update User Details

This guide provides information on how to update the user details using the REST API.

User Details

To update a user’s details, you need to call the POST account/details/update endpoint.
Ensure that you include the required fields in the request body before submitting the request.

{
"user_first_name": "string", //Required
"user_middle_name": "string",
"user_last_name": "string", //Required
"user_email": "string", //Required
"user_username": "string", //Required
"user_visible": true, //Required
"profile_picture_updated": false //Required
}

The profile_picture_updated field will always be set to false unless you call the POST account/avatar/upload endpoint.

User Avatar

To update the user’s avatar, you need to call the POST account/avatar/upload endoint.

Make sure to include avatar_file in the form data when uploading the file. Most common image formats, such as PNG and JPEG, are supported.