0% found this document useful (0 votes)
5 views1 page

Close Session Over REST

The document describes a REST endpoint for closing an active user session, requiring that a session is already established. The operation does not require any specific security role and results in the session being closed, rendering the cookie invalid and redirecting the user to the log on page. The endpoint uses a GET method at the path '/logout' and returns an HTTP response code of 302.

Uploaded by

aelousfour
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views1 page

Close Session Over REST

The document describes a REST endpoint for closing an active user session, requiring that a session is already established. The operation does not require any specific security role and results in the session being closed, rendering the cookie invalid and redirecting the user to the log on page. The endpoint uses a GET method at the path '/logout' and returns an HTTP response code of 302.

Uploaded by

aelousfour
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

10/22/25, 6:53 PM Close Session over REST

6.2 Close Session over REST


This REST endpoint is used to close an active session for a given user.

Description
This operation can only handle one user with active session per query. This step is required to close securely communication with
ENM system.

Required Security Role


none

Prerequisite
The session is established.

Result
The session is closed. The cookie is no longer valid. The user is redirected to log on page.

REST Endpoint
Description Method Path
Close an active session GET /logout

Available Arguments
– None

HTTP Response Code: 302


Example 18

This command can be used to close an active session:

curl --cacert <[Link]> -b cookie_Administrator.txt -X GET -L "[Link]

Result:
302

about:blank 1/1

You might also like