Session Monitor API

Get Current Tenant

It returns the list of the available consultations for the current user.

GET/rest/sessionmonitor/tenant
Query parameters None
Header auth-token
Header / Parameter None
Body None
Returns json with the current tenant's name
Required role USER or ANONYMOUS
Managed errors None

Example request

curl 'https://localhost:8080/mwp/rest/sessionmonitor/session/tenant' -H 'auth-token: 5d4d7ae0-ed41-43ba-b128-a21f214b4ee3.local'

Example response

{
   "currentTenant":"default"
}