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!"
}User Institutions
Switch user's active institution profile
Switches the user’s active institution profile. Updates the user’s institution reference and plan (sdk for institution, free for personal). Also updates lastLogin and lastKA on the target user-institution record.
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!"
}Documentation Index
Fetch the complete documentation index at: https://docs.praxis-ai.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
JWT token passed in x-access-token header
Path Parameters
The UserInstitution ObjectId to switch to
Was this page helpful?
⌘I