auth-controller
Get current User (getUser)
Get the information about the User which credentials are used to perform this REST API call.
get/api/auth/user
Response
OK
Example response
{
"id": {
"id": "784f394c-42b6-435a-983c-b7beff2784f9",
"entityType": "USER"
},
"createdTime": 1609459200000,
"tenantId": {
"id": "784f394c-42b6-435a-983c-b7beff2784f9",
"entityType": "TENANT"
},
"customerId": {
"id": "784f394c-42b6-435a-983c-b7beff2784f9",
"entityType": "CUSTOMER"
},
"email": "user@example.com",
"authority": "SYS_ADMIN, TENANT_ADMIN or CUSTOMER_USER",
"firstName": "John",
"lastName": "Doe",
"name": "user@example.com",
"additionalInfo": {}
}