# updateUserProfile

## Overview

Updates another user's profile information (name and email). Admin-only operation that works on users in any status.

## Modules Commands Used

- `user-management.updateUser` — Updates user name and email (any status)

## Exception Handling

| Error Code             | Description                              |
| ---------------------- | ---------------------------------------- |
| USER_NOT_FOUND         | The specified user does not exist        |
| USER_ALREADY_EXISTS    | A user with the same email exists        |
| MISSING_REQUIRED_FIELD | Neither name nor email was provided      |
| INVALID_NAME           | Name is empty or whitespace only         |
| INVALID_EMAIL          | Email does not follow valid email format |
