Commit 7ca8092
Add PUT /users/:id endpoint to update a user's name and email
Returns 400 when either field is missing, 404 when the id does not
exist, and 200 with the updated user object on success.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 03c42d9 commit 7ca8092
1 file changed
Lines changed: 18 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
35 | 53 | | |
0 commit comments