Lists the sessions of applications for specified parameters
integer
integer
string
the search was performed successfully. Returns a paginated list of application sessions
any
1
2
3
curl --request GET \
--url 'http://{baseurl}/rest/rest/admin/1.0/sessions/application' \
--header 'Accept: application/json'
Lists the sessions of applications for specified parameters
integer
integer
string
integer
the search was performed successfully. Returns a paginated list of user sessions
any
1
2
3
curl --request GET \
--url 'http://{baseurl}/rest/rest/admin/1.0/sessions/user' \
--header 'Accept: application/json'
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{
"values": [
{
"randomHash": "randomhash1",
"id": 123,
"initialization": "1970-01-01T02:00:00.123+0200",
"lastAccess": 123,
"directory": {
"id": 1,
"displayName": "Crowd Directory",
"directoryType": "INTERNAL"
},
"username": "nwadursk"
},
{
"randomHash": "randomhash2",
"id": 124,
"initialization": "1970-01-01T02:00:00.124+0200",
"lastAccess": 124,
"directory": {
"id": 2,
"displayName": "Internal Directory",
"directoryType": "INTERNAL"
},
"username": "ppakowsk"
}
],
"size": 2,
"start": 1,
"limit": 2,
"isLastPage": false
}
Expires the session with given ID
string
Requiredthe session was expired successfully
1
2
curl --request DELETE \
--url 'http://{baseurl}/rest/rest/admin/1.0/sessions/{randomHash}'
Rate this page: