http
PUT /api/users/alice HTTP/1.1
Host: api.example.com
Content-Type: application/json
Authorization: Bearer token_abc
{
"id": "alice",
"name": "Alice Schmidt",
"email": "alice.new@example.com",
"phone": "+49 123 456789",
"role": "admin"
}
HTTP/1.1 200 OK
Content-Type: application/json
{
"id": "alice",
"name": "Alice Schmidt",
"email": "alice.new@example.com",
"phone": "+49 123 456789",
"role": "admin",
"updated_at": "2025-10-01T10:46:00Z"
}