Developer
Get Support
Sign in
Get Support
Sign in
DOCUMENTATION
Cloud
Data Center
Resources
Sign in
Sign in
DOCUMENTATION
Cloud
Data Center
Resources
Sign in
  • Account Management
  • Alias
  • Application
  • Application Admin
  • Application Licensing
  • Audit
  • Backup
  • Directory
  • Directory Admin
  • Group Admin
  • Group Level Admin
  • Groups
  • Groups Membership
  • LDAP Connection Pool
  • Look and Feel
  • Mail Server
  • Remember Me
  • SAML Configuration
  • Server Info
  • Sessions
  • Token
  • User Admin
  • User Authentication
  • Users
Server
Crowd Data Center / / REST API

Sessions

Postman Collection
OpenAPI
GET

Get application sessions

Lists the sessions of applications for specified parameters

Forge and OAuth2 apps cannot access this REST resource.

Request

Query parameters

start

integer

limit

integer

search

string

Responses

the search was performed successfully. Returns a paginated list of application sessions

application/json

any

GET/rest/admin/1.0/sessions/application
1 2 3 curl --request GET \ --url 'http://{baseurl}/rest/rest/admin/1.0/sessions/application' \ --header 'Accept: application/json'
GET

Get user sessions

Lists the sessions of applications for specified parameters

Forge and OAuth2 apps cannot access this REST resource.

Request

Query parameters

start

integer

limit

integer

search

string

directoryId

integer

Responses

the search was performed successfully. Returns a paginated list of user sessions

application/json

any

GET/rest/admin/1.0/sessions/user
1 2 3 curl --request GET \ --url 'http://{baseurl}/rest/rest/admin/1.0/sessions/user' \ --header 'Accept: application/json'
200Response
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 }
DEL

Expire session

Expires the session with given ID

Forge and OAuth2 apps cannot access this REST resource.

Request

Path parameters

randomHash

string

Required

Responses

the session was expired successfully

DEL/rest/admin/1.0/sessions/{randomHash}
1 2 curl --request DELETE \ --url 'http://{baseurl}/rest/rest/admin/1.0/sessions/{randomHash}'

Rate this page: