SAP Sponsorships Engine Security Webservices API

URL: /api/restsecurity/logout

Description:

The service terminates a session, based on the JSESSIONID cookie. The session's subject is no longer considered authenticated and the JSESSIONID used to make the request is considered invalid from now on.


Request Method: GET/POST
Output format: Redirect (302 Found) to / which is not expected to deliver anything
Mandatory parameters: None
Example: curl -D /tmp/header -b JSESSIONID=5e94c93e-b515-4bcd-8df8-0c786805a9e0 http://127.0.0.1:8888/security/api/restsecurity/logout
Will return something like

	            HTTP/1.1 302 Found
		    Set-Cookie: rememberMe=deleteMe; Path=/security; Max-Age=0; Expires=Tue, 24-Feb-2015 15:58:16 GMT
		    Set-Cookie: JSESSIONID=deleteMe; Path=/; Max-Age=0; Expires=Tue, 24-Feb-2015 15:58:16 GMT
		    Location: http://127.0.0.1:8888/security/
		    Content-Length: 0