SPA User

SPA Me - Get current user profile

Returns the profile of the currently authenticated user.

GET/api/spa/me

Authorizations

X-AUTH-TOKEN
stringheaderrequired

Value for the X-AUTH-TOKEN header parameter.

Response

200application/json

SpaMe resource

id
integer

User ID

Example: 1

email
string

User email

Example: "user@example.com"

roles
string[]

User roles

Example: ["ROLE_USER","ROLE_ADMIN"]

locale
string

User locale

Example: "en"

clientId
integer

Client ID

Example: 1

subClientId
integer

Sub-client ID

Example: null

clientIdentifier
string

Client identifier

Example: "my-client"

subClientDescription
string

Sub-client identifier

Example: null

isSubClientsEnabled
boolean

Whether the sub-clients (environmental tenants) module is enabled for the client

Available options: truefalse

Example: true

isDelegated
boolean

Whether user is currently in a delegated auth session

Available options: truefalse

Example: false

delegationId
string

Delegated auth session ID

Example: "f53f4d5f-3216-486f-b1f1-3fc2a8e46020"

actorEmail
string

Delegating actor email when delegated session is active

Example: "john.doe@output.rocks"

actorName
string

Delegating actor name when delegated session is active

Example: "John Doe"

effectiveEmail
string

Effective user email used for authorization

Example: "bayernwerk@output.rocks"