Skip to main content
POST
/
api
/
user
/
userInstitutionSwitch
/
{id}
Switch user's active institution profile
curl --request POST \
  --url https://pria.praxislxp.com/api/user/userInstitutionSwitch/{id} \
  --header 'x-access-token: <api-key>'
{
  "success": true,
  "message": "Profile switched!"
}

Authorizations

x-access-token
string
header
required

JWT token passed in x-access-token header

Path Parameters

id
string
required

The UserInstitution ObjectId to switch to

Response

Institution profile switched successfully

success
boolean

Indicates if the institution switch was successful

message
string

Success message confirming the profile switch