Difference between revisions of "REST API:getActiveSessions"

From AgileApps Support Wiki
(Created page with "Retrieve all active sessions of a user ;Method:GET ;URI:<tt>{{platformURL}}/rest/httpSessionManagement/active</tt> ;Request: :<syntaxhighlight lang="xml" enclose="div">{ "pl...")
 
Line 9: Line 9:
     "session": [
     "session": [
         {
         {
         "id": "f8f8dc9fd2fa4303b02fce4fbbd794a1"  //Session Record-id retrieved from active endpoint
         "id": "f8f8dc9fd2**********ce4fbbd794a1"  //Session Record-id retrieved from active endpoint
         },
         },
         {
         {
         "id": "bacc3234685c4ae49727809d503ce1c9"
         "id": "bacc3234**********27809d503ce1c9"
         }
         }
     ]}}
     ]}}

Revision as of 09:07, 9 January 2024

Retrieve all active sessions of a user

Method
GET
URI
https://{yourDomain}/networking/rest/httpSessionManagement/active
Request
{
"platform": {
    "session": [
        {
        "id": "f8f8dc9fd2**********ce4fbbd794a1"  //Session Record-id retrieved from active endpoint
        },
        {
        "id": "bacc3234**********27809d503ce1c9"
        }
    ]}}
Response
{
 "platform": {
        "message": {
            "code": "0",
            "description": "Success"
        }
    }
}