updateUserInfo

@Patch(value = "update-info/")
open override fun updateUserInfo(@Body request: UpdateUserInfoRequest): HttpResponse<UpdateUserInfoResponse>

Handles PATCH users/update-info/.

Validates request data and delegates user profile updates to UpdateUserInfo.

Response mapping:

  • 200 OK when user info is updated

  • 400 Bad Request when payload validation fails

  • 404 Not Found when the target user does not exist

Return

An HTTP response representing the update result.

Parameters

request

Payload containing the updated user profile information.