Validate a refresh token
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
application/json
application/json
curl -X GET "https://example.com/auth/refreshtoken/validate"{ "userId": 0}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>