# UpdateUserDTO

Type: object

Schema: [UpdateUserDTO](https://sourcey-gauzy.pages.dev/api-reference/models/updateuserdto/index.md)

- `email` (optional)
  Type: string

- `roleId` (optional)
  Type: string

- `role` (optional)
  Type: object
  
  Role reference: an object with the role `id` (UUID).

- `firstName` (optional)
  Type: string

- `lastName` (optional)
  Type: string

- `imageUrl` (optional)
  Type: string

- `preferredLanguage` (optional)
  Type: string
  
  enum: ["en","bg","he","ru","fr","es","zh","de","pt","it","nl","pl","ar"]

- `isActive` (optional)
  Type: boolean
  
  default: true

- `imageId` (optional)
  Type: string

- `defaultTeamId` (optional)
  Type: string

- `lastTeamId` (optional)
  Type: string

- `defaultOrganizationId` (optional)
  Type: string

- `lastOrganizationId` (optional)
  Type: string

- `hash` (optional)
  Type: string