Update user resource.
This can only be done by the logged in user.
PUT
/api/v3/user/{username} Path parameters
username string required name that need to be deleted
Body parameters
Accepts application/json, application/xml, application/x-www-form-urlencoded.
id int64 (format int64)
username string No description.
firstName string No description.
lastName string No description.
email string No description.
password string No description.
phone string No description.
userStatus int32 User Status (format int32)
Response 200
successful operation
Response 400
bad request
Response 404
user not found
Response default
Unexpected error
Request
curl -X PUT /api/v3/user/:username \ -H "Content-Type: application/json" \ -d '{"id":10,"username":"theUser","firstName":"John","lastName":"James","email":"john@email.com","password":"12345","phone":"12345","userStatus":1}'