REST API:Logout

From AgileApps Support Wiki
Revision as of 09:15, 9 January 2024 by Wikidevuser (talk | contribs) (Created page with "Log out few sessions of a user ;Method:GET ;URI:<tt>{{platformURL}}/rest/httpSessionManagement/logout</tt> ;Request: :<syntaxhighlight lang="xml" enclose="div">{ "platform":...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Log out few sessions of a user

Method
GET
URI
https://{yourDomain}/networking/rest/httpSessionManagement/logout
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>