Skip to main content

Logout

Use the rest/1/logout endpoint to logout.

Curl Request

$ curl 'http://localhost:8080/rest/1/logout' -i -X POST

Request Example

POST /rest/1/logout HTTP/1.1 Host: localhost:8080

Response Example

HTTP/1.1 200 OK
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-XSS-Protection: 1; mode=block
X-Frame-Options: DENY
X-Content-Type-Options: nosniff
Content-Type: text/plain;charset=ISO-8859-1
Content-Length: 2

{}