Get the current user's roles and relations
account
Get the current user's roles and relations
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.
GET
Get the current user's roles and relations
Authorizations
Machine-to-machine clients use the OAuth 2.0 client credentials grant. Each tenant has its own authorization server: in the token URL below, replace tenant with your tenant identifier.
Headers
Your tenant identifier. Requests without it are rejected.
Response
First name
Last name
My brokerage firm
Pattern:
^brokerage_firm(_test)?_[346789ABCDEFGHJKLMNPQRTUVWXYabcdefghijkmnpqrtwxyz]{21}$My broker role
Products that can be distributed by the user

