Get the current user's roles and relations
GET/users/permissions/@me
Do not use the status code as a signed-in test: an anonymous session gets 200 with an empty identity rather than an error, so branch on a field in the body. On this route a request with no token is 401, as is a malformed, expired or wrong-tenant token.
Request
Responses
- 200
- 404