Logout – Brocade Network Advisor REST API Guide (Supporting Network Advisor 12.3.0) User Manual

Page 160

Advertising
background image

146

Brocade Network Advisor REST API Guide

53-1003160-01

Authentication and session management

5

Logout

Logs out from the Network Advisor server.

POST URIs

HTTP request headers

A valid token is required for logout and this is sent through the HTTP request header. The user
adds the header while forming the POST request.

Notes

•

The logout operation does not have a return value and thus there is no must specify the
content type.

•

Successful completion of the request results in the deletion of the client session. An HTTP
status code of 204 (No Content) is returned upon success.

URI

Description

<BASE_URI>/logout

Ends the current session and logs you out.

Request header name

Request header value

WStoken

The token obtained from login.

Advertising