User guide

Web Services, CLI Scripting and OpenFlow Web Services REST Examples
OmniSwitch AOS Release 7 Switch Management Guide March 2015 page 11-7
Logout Example
This REST example logs a user out of the switch.
Example Success Response
Domain auth
URN -
Verb GET
Variables -
REST URL GET https://192.168.1.1/auth/?
JSON XML
{"result":{
"domain":"auth (logout)",
"diag":200,
"error":"",
"output":"",
"data":[]}}
<?xml version="1.0" encoding="UTF-8" ?>
<nodes>
<result>
<domain>auth (logout)</domain>
<diag>200</diag>
<error></error>
<output></output>
<data></data>
</result>
</nodes>