Session Authentication
Logging out current session
Changed onThis endpoint causes the current session to log itself out. Logging out is not strictly necessary for Web Users; all sessions expire 24 hours after they are created. But it can be a good idea, in case someone else manages to steal your token.
Only the session that was used to authenticate the request is logged out. If the Actor associated with the session has other sessions as well, those are not logged out.
delete/v1/sessions/current
Request
- Base URL/ (relative, and the document was published on a file host, not at the API’s origin)
- URL/v1/sessions/current
- Authnone declared
Response
OK
Example response
{
"success": true
}Changes
- info
api operation id
Logging out current sessionremoved and replaced withlogOutCurrentSession
- info
- info
removed the non-success response with the status
- info