Dell N3200-ON Networking N-Series Switches RESTful API User Guide version 6.8. - Page 23
Logout, Logout CREATE
View all Dell N3200-ON manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 23 highlights
Logout Implements a RESTful API providing user session logout. Logout CREATE POST /open/v1/logout Use this call to logout of a session. A successful logout request deletes the session ID and invalidates the session. Request Details Table 4-8. Logout CREATE Request Details Parameter SID SIDSSL Type String String Description Unique session ID for HTTP requests. Unique session ID for HTTPS requests. Response Details HTTP and HTTPS Response Codes The possible HTTP Response codes are 200 and 401. Internal Error Codes The possible error codes for OpEN API are shown in the following table. Table 4-9. Logout CREATE Internal Error Codes Error Code 0 Code Name OPEN_E_NONE Description Logout successful. Request Example curl -cacert cacert.pem -b "SIDSSL= uNyhgtSxGgEXxlSDhZykdOllaCjfYwMVjlcqgwpMevJBGdHOcfAHTMSwocBOyn JIanAImPuSkFu" https://10.10.10.1:8080/open/v1/logout curl -b "SID= uNyhgtSxGgEXxlSDhZykdOllaCjfYwMVjlcqgwpMevJBGdHOcfAHTMSwocBOyn JIanAImPuSkFu" http://10.10.10.1:8080/open/v1/logout browser http://10.10.10.1:8080/open/v1/logout Rest API Reference 23