REST API:getActiveSessions

From AgileApps Support Wiki
Revision as of 09:07, 9 January 2024 by Wikidevuser (talk | contribs)

Retrieve all active sessions of a user

Method
GET
URI
https://{yourDomain}/networking/rest/httpSessionManagement/active
Request
<syntaxhighlight lang="xml" enclose="div">{

"platform": {

   "session": [
       {
       "id": "f8f8dc9fd2**********ce4fbbd794a1"  //Session Record-id retrieved from active endpoint
       },
       {
       "id": "bacc3234**********27809d503ce1c9"
       }
   ]}}

</syntaxhighlight>

Response
<syntaxhighlight lang="xml" enclose="div">{
"platform": {
       "message": {
           "code": "0",
           "description": "Success"
       }
   }

} </syntaxhighlight>