Updates the current user’s profile fields or changes the user’s password. When resetCodeId is present in the request body, the endpoint operates in password-change mode and requires password (current) and newPassword fields. Otherwise, it updates profile fields validated against the authorized properties list (canvasApiToken, email, fname, lname, picture, remember_history_count, use_location, use_tts, dark_mode, max_dialogues, pin_ui, showSideBar, showPriaOptions, galleryAsGrid, ragOnlySearch, browser_voice, browser_voices, mustChangePassword, updatePasswordOnSSO, rt_voice). Any properties not in this list are rejected.
JWT token passed in x-access-token header
Any combination of authorized user properties. Only fields from the authorized list are accepted.
Canvas LMS API token
User email address
First name
Last name
Profile picture URL
Number of history items to remember
Whether to use location services
Whether text-to-speech is enabled
Whether dark mode is enabled
Maximum dialogues to load
Whether the UI sidebar is pinned
Whether to show the sidebar
Whether to show Pria options panel
Whether to display gallery as grid
Whether to restrict search to RAG only
Selected browser voice for TTS
Available browser voices
Whether user must change password on next login
Reset password on SSO login
Real-time voice selection