POST
/
api
/
user
/
refresh
/
entitlements
Refresh user entitlements and permissions
curl --request POST \
  --url https://pria.praxislxp.com/api/user/refresh/entitlements \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "entitlements": [
    {
      "_id": "<string>",
      "entitlements": [
        "<string>"
      ],
      "accountType": "super",
      "status": "active",
      "creditAwarded": 123,
      "user": "<string>",
      "created": "2023-11-07T05:31:56Z",
      "lastLogin": "2023-11-07T05:31:56Z",
      "lastKA": "2023-11-07T05:31:56Z",
      "digitaltwin": true,
      "institution": "<string>",
      "institution_data": {},
      "account_data": {}
    }
  ]
}

Authorizations

Authorization
string
header
required

JWT token passed in x-access-token header

Response

Successfully refreshed user entitlements

The response is of type object.