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

200 - application/json

Institution profile switched successfully

The response is of type object.