Skip to content
NewDatafor 10.02 is out: subscriptions and metric alerts, in Slack and Teams
Datafor

Authentication

Form logout

The browser sign-out endpoint, which ends the session and redirects to the start page.

Ends the session of the JSESSIONID cookie and redirects the browser to the start page. Scripts should use Log out, which answers in JSON.

Method and path GET /Logout (POST also works)
Permission Anyone
Content type None

Parameters

None. The session is taken from the cookie.

Example

curl -i -b cookies.txt "http://localhost:28080/datafor/Logout"
HTTP/1.1 302
Location: /datafor/index.jsp

Errors

None. Without a session the call still redirects.

Related: Log out, Form login