Logout process from the session.

This is a simple logout process from the current session.
To logout from the current session, the word “current” can be used as an ID.
Also to logout from the user's session, can use the session ID.
The endpoint expects a session token either in "Authorization Bearer" or through a cookie,
the name of which is set in the session.cookie.name configuration, which defaults to "irssession".
A CSRF token must also be provided if the session was issued by setting a cookie.
To provide the CSRF token, pass it in the X-IRS-CSRF-Token header.

Path Params
string
required

The identifier of the user's session.
The identifier must be in uuid format or the word “current” for current session.

Example: '123e4567-e89b-12d3-a456-426655440000' or 'current'

Headers
string

Session token provided in Authorization Bearer

string
string

CSRF Token

Responses
204

The logout process was successful and cookies have been cleared

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json