Skip to main content
GET
Get the current user's roles and relations

Authorizations

Authorization
string
header
required

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

tenant
string
required

Your tenant identifier. Requests without it are rejected.

Response

userId
string
required
email
string<email>
required
isSuperUser
boolean
required
relations
object[]
required
firstName
string

First name

lastName
string

Last name

brokerageFirmId
string

My brokerage firm

Pattern: ^brokerage_firm(_test)?_[346789ABCDEFGHJKLMNPQRTUVWXYabcdefghijkmnpqrtwxyz]{21}$
brokerRole
string

My broker role

productIds
string[]

Products that can be distributed by the user