Switch the active customer profile for the current session to a different profile owned by the same user account.
Documentation Index
Fetch the complete documentation index at: https://learn.nexudus.com/llms.txt
Use this file to discover all available pages before exploring further.
GET /api/public/coworkers/profiles — use a Profiles[].Id value
where Profiles[].Active is true.GET /api/public/coworkers/profiles after a successful switch to update the session state.
Returns an ActionConfirmation envelope.
true when the profile was switched successfully.null on success.200 on success.null on success.null on success.| Context | Source file |
|---|---|
| Account switcher in the navigation dropdown | src/components/NavBar/AccountDropdown.tsx |
| Virtual Office profile mismatch alert | src/views/virtual-offices/components/VirtualOfficeProfileMismatchAlert.tsx |
coworkerId exists or it does not belong to this user account.| Method | Endpoint | Description |
|---|---|---|
GET | /api/public/coworkers/profiles | List all profiles available to the current session |
GET | /api/public/coworkers/profiles/current/benefits | Get benefits for the currently active profile |