Update User
Update an existing user
PATCH
Updates specific fields of an existing user.
Path Parameters
idstringrequiredThe user ID.
Request Body
displayNamestringNew display name.
emailstringNew email address.
curl -X PATCH "https://api.example.com/v1/users/user_123" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{
"displayName": "Jane Smith"
}'{
"data": {
"id": "user_123",
"email": "jane@example.com",
"displayName": "Jane Smith",
"avatarUrl": "https://cdn.example.com/avatars/jane.png",
"createdAt": "2024-01-15T10:30:00Z",
"updatedAt": "2024-01-15T11:45:00Z"
}
}