DELETE Session

Removes a Session from the Secure Proxy Configuration Manager.

With the HTTP DELETE method, you can delete an existing session with the Secure Proxy Configuration Manager.

This API method requires authentication. The authentication token that is generated at login must be passed in through the "X-Authentication" header.

Table 1. Delete Session request details

Delete Session request details.

Method Resource URI Description

DELETE

session

/sspcmrest/sspcm/rest/session

Deletes the session from the Secure Proxy Configuration Manager

Table 2. Delete Session Header input parameters

Delete Session Header input parameters

Parameter Required or Optional Description Validation Valid values

sessionToken

Required

Invalidates a session with the Secure Proxy Configuration Manager.

Must be a non-empty string

a-zA-Z0-9

HTTP Session request

The following example shows the HTTP request:

DELETE https://localhost:8443/sspcmrest/sspcm/rest/session
“X-Authentication”: 
“61504f4a524b48532b776a3467643733374b526368513d3d”

XML Session response

The following example shows the XML response:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <XmlResponse>
    <httpCode>200</httpCode>
    <httpStatus>OK</httpStatus>
    <action>None</action>
    <message>{Message:Session invalidated}</message>
    <messageLevel>INFO</messageLevel>
    <results/>
    </XmlResponse>