/user/{username}Replace a user account
Replaces the stored representation of a user identified by username. Supply the user fields to apply the account, contact, credential, and status values for username; only the authenticated user can perform this operation.
The username identifying the user to replace.
User representation used to replace the existing user record.
The user's numeric identifier in 64-bit integer format.
The name used to identify the user.
The user's first name.
The user's last name.
The user's email address.
The user's password.
The user's telephone number.
User Status
username.A 400 is returned when the replacement request is invalid. A 404 is returned when no user exists with the supplied username. Values such as id and userStatus must be integers, while fields such as username and email must be strings.