Appearance
Log out
About 110 wordsLess than 1 minute
apiAuthentication
2026-09-01
Ends the session identified by the JSESSIONID cookie.
| Method and path | GET /plugin/datafor/api/extension/auth/logout |
| Permission | Anyone |
| Content type | None |
Parameters
None. The session is taken from the cookie.
Example
curl -b cookies.txt "http://localhost:28080/datafor/plugin/datafor/api/extension/auth/logout"{
"success": true,
"code": "200",
"data": "1"
}data | Meaning |
|---|---|
"1" | The session was signed in and is now closed. |
"2" | The session was not signed in; nothing changed. |
Errors
code | When |
|---|---|
"500" | The session could not be closed; msg has the reason. |
Related: Log in