Fully update an existing user (replaces all fields)
curl -X PUT https://api.library.com/users/1 \ -u username:password \ -H "Content-Type: application/json" \ -d '{ "firstname": "John", "lastname": "Doe", "email": "[email protected]", "displayPicture": "https://example.com/pictures/johndoe-new.jpg" }'
{ "200": {}, "400": {}, "401": {}, "404": {}, "409": {}, "id": 123, "firstname": "<string>", "lastname": "<string>", "email": "<string>", "borrowedBooks": [ { "id": 123, "user": {}, "book": {}, "loanDate": "<string>", "returnDate": "<string>", "returned": true } ], "googleId": "<string>", "displayPicture": "<string>" }
Show RentalDto properties