PUT /users/{user_id}¶
Summary¶
Updates an existing user by ID.
Request¶
Method: PUT
Path: /users/{user_id}
Path Parameters:
user_id: unique user ID
Request Body:
{
"name": "Jeff Updated",
"email": "[email protected]"
}
Response¶
200 OK
{
"id": "u_001",
"name": "Jeff Updated",
"email": "[email protected]"
}
404 Not Found
{
"message": "User not found"
}