> ## Documentation Index
> Fetch the complete documentation index at: https://developer.jtl-software.com/llms.txt
> Use this file to discover all available pages before exploring further.

# UpdateUserCommandRequestInput

> Changes a user. Errors: UserNotFound, UserTypeNotEditable, UserEmailAlreadyInUse, UserNameRequired. - Request



**Kind**: `input`

## Fields

**`userId`**: `ID!` (required)

The ID of the user.

---

**`phoneNumber`**: `String`

The new phone number. Null or empty text removes it.

---

**`note`**: `String`

The new note. Null or empty text removes it.

---

**`name`**: `String`

The new display name. Null or empty text is refused.

---

**`mobilePhoneNumber`**: `String`

The new mobile phone number. Null or empty text removes it.

---

**`emailAddress`**: `String`

The new email address, unique without regard to case and outer spaces. Null or empty text removes it.

---

**`department`**: `String`

The new department. Null or empty text removes it.

---

**`idempotencyKey`**: `String`

Client-supplied idempotency key. When provided, a repeated request with the same key and payload replays the original result instead of re-executing the mutation.

