Skip to main content
POST
/
api
/
user
/
userInstitutionSwitch
/
{userInstitutionId}
Switch user's active user institution profile
curl --request POST \
  --url https://pria.praxislxp.com/api/user/userInstitutionSwitch/{userInstitutionId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{}'
{
  "success": true,
  "message": "Profile switched !"
}

Authorizations

Authorization
string
header
required

JWT token passed in x-access-token header

Path Parameters

userInstitutionId
string
required

The unique identifier of the user institution to switch to

Body

application/json · object

Empty object for the request body

Response

Institution profile switched successfully

success
boolean

Indicates if the institution switch was successful

message
string

Success message confirming the profile switch