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!"
}

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

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