Update current user profile
Updates the authenticated user profile fields (name, email, phone, designation, persona, automations, notification preferences, call forwarding). Returns 409 if the new email is already in use.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
Display name shown across the UI and on outbound messages signed by this user.
Primary login email; must be unique across all users — endpoint returns 409 if already taken.
Personal mobile number (E.164 preferred); rejected if it collides with a provisioned organization SMS number.
Free-form job title (e.g., "Senior Account Executive"); used for display only.
Assigned Sinch outbound number; used as the from-number on user-attributed SMS.
ObjectId of the Department the user belongs to; controls team visibility and routing.
Role granted to the user: SUPERADMIN, ADMIN, DEPARTMENT_HEAD, SALES_REP.
Per-user automation toggles and configuration (free-form map persisted as Mixed on the User document).
Whether inbound calls should be forwarded to the user personal phone when they are offline or busy.
Per-category notification toggles (aiResponses, automationTriggers, escalations, calls, etc.). See UserNotificationPreferences.
Persona fields written to the user linked Persona document; created on first set, otherwise merged. businessHours/timezone require the org-level override flag.