## Update `UserUpdateResponse Viewer.Users.Update(UserUpdateParamsparameters, CancellationTokencancellationToken = default)` **patch** `/v1/viewer/users/{userId}` Updates a user's profile information, permissions, and access level. All fields are optional - only provided fields will be updated. Email cannot be changed via API. ### Parameters - `UserUpdateParams parameters` - `required string userID` Unique user identifier. Format: usr_{32-hex-chars} - `Boolean canManageStudies` - `ClinicRole? clinicRole` - `"Radiologist"Radiologist` - `"Cardiologist"Cardiologist` - `"Neurologist"Neurologist` - `"Urologist"Urologist` - `"Gynecologist"Gynecologist` - `"Endocrinologist"Endocrinologist` - `"Doctor"Doctor` - `"Surgeon"Surgeon` - `"Physician"Physician` - `"Physician Assistant"PhysicianAssistant` - `"Nurse Practitioner"NursePractitioner` - `"Registered Nurse"RegisteredNurse` - `"Patient Care Coordinator"PatientCareCoordinator` - `"Front Desk Operator"FrontDeskOperator` - `"Imaging Technologist"ImagingTechnologist` - `"PACS Administrator"PacsAdministrator` - `"Software Engineer"SoftwareEngineer` - `"Revenue Cycle Manager"RevenueCycleManager` - `"Administrative Director"AdministrativeDirector` - `"Administrative Assistant"AdministrativeAssistant` - `"Other"Other` - `string firstName` User's first name - `Boolean hasDashboardAccess` Whether the user can access the dashboard interface. Required for admin users - `string lastName` User's last name - `Level level` - `"admin"Admin` - `"member"Member` - `string? middleName` - `string? phoneNumber` - `string? suffix1` - `string? suffix2` ### Returns - `class UserUpdateResponse:` A user in the Viewer system with study management permissions - `required Boolean CanManageStudies` Whether the user has permission to create, update, and manage studies - `required ClinicRole ClinicRole` User's clinical or organizational role - `"Radiologist"Radiologist` - `"Cardiologist"Cardiologist` - `"Neurologist"Neurologist` - `"Urologist"Urologist` - `"Gynecologist"Gynecologist` - `"Endocrinologist"Endocrinologist` - `"Doctor"Doctor` - `"Surgeon"Surgeon` - `"Physician"Physician` - `"Physician Assistant"PhysicianAssistant` - `"Nurse Practitioner"NursePractitioner` - `"Registered Nurse"RegisteredNurse` - `"Patient Care Coordinator"PatientCareCoordinator` - `"Front Desk Operator"FrontDeskOperator` - `"Imaging Technologist"ImagingTechnologist` - `"PACS Administrator"PacsAdministrator` - `"Software Engineer"SoftwareEngineer` - `"Revenue Cycle Manager"RevenueCycleManager` - `"Administrative Director"AdministrativeDirector` - `"Administrative Assistant"AdministrativeAssistant` - `"Other"Other` - `required DateTimeOffset? CreatedAt` Timestamp when the user was created - `required string Email` User's email address for login and notifications - `required string FirstName` User's first name - `required Boolean HasDashboardAccess` Whether the user can access the dashboard interface. Required for admin users - `required InvitedSource InvitedSource` How the user was invited - via dashboard UI or API - `"dashboard"Dashboard` - `"api"Api` - `required DateTimeOffset? LastLoginAt` Timestamp of user's last login, null if never logged in - `required string LastName` User's last name - `required Level Level` User access level. 'owner' has full control, 'admin' can manage users/settings, 'member' has standard access - `"owner"Owner` - `"admin"Admin` - `"member"Member` - `required string UserID` Unique user identifier. Format: usr_{32-hex-chars} - `string MiddleName` User's middle name (optional) - `string PhoneNumber` User's phone number (10-15 digits, optional) - `string Suffix1` Name suffix (e.g., 'Jr.', 'Sr.', 'III') - optional - `string Suffix2` Additional name suffix (optional) ### Example ```csharp UserUpdateParams parameters = new() { UserID = "usr_1234567890abcdef1234567890abcdef" }; var user = await client.Viewer.Users.Update(parameters); Console.WriteLine(user); ```