logout


URI

<services_uri>/security/logout[.<format>]

Supported methods

GET, HEAD

Parent resource

services

Introduction

The logout resource is used to exit the login status.

Supported Methods:

Supported output formats: rjson, json, html, xml.

Resource hierarchy

HTTP request methods

Implement the HTTP request on the following URI, where supermapiserver is the server name, with rjson being the output format.

http://supermapiserver:8090/iserver/services/security/logout.rjson

GET request

Exits the login status.

Response example

Implement the GET request on the logout resource http://localhost:8090/iserver/services/security/logout.rjson to directly exit the login status. Next time when the user visits web manager, the user needs to login again.

HEAD request

Asks for the response identical to the one that would correspond to a GET request, but without the response body. This is useful for retrieving meta-information written in response headers, without having to transport the entire content. The meta-information includes the media-type, content-encoding, transfer-encoding, content-length, etc.

HEAD request can be used to check if the logout resource exists, or if the logout resource can be accessed by clients. It can also determine if the logout resource supports an output format <format> if performed on a URI with .<format> included.

See