Validate a refresh token
Authorization
refreshToken A valid refresh token can be obtained via the /login, /refreshtoken or /2fa/{method}/verify endpoints. A valid token can be invalidated via the /logout endpoint. It has a 14 days validity period.
In: header
Response Body
application/json
application/json
curl -X GET "https://authentication.eniris.be/auth/refreshtoken/validate"{
"userId": 0
}{
"statusCode": 401,
"error": "Unauthorized",
"message": "NO_TOKEN_PROVIDED"
}Validate an access token GET
Validate an access token
Collect companies associated with the user GET
Collect company roles associated with the user. This includes: <ul> <li> Any company roles of which the user is either a direct or indirect member, i.e. the user can operate on behalf of that company </li> <li> Any company role such that the user is a member of a role which is directly or indirectly managed by that company </li> </ul>
