usersession/terminatehtmlsession

API Name

usersession/terminatehtmlsession

Description

Terminates passed session from passed server instance.

REST Methods

POST

Precondition

Server Manager Console must be running.

Input Params

TOKEN: The TOKEN Header returned as a response to the /authenticate Server Manager REST API Call.

TOKEN: The TOKEN Cookie returned as a response to the /authenticate Server Manager REST API Call.

AUTHORIZATION: The Base64 encoded Basic username:password combination necessary for Authentication.

instanceName: The Managed Instance Name.

sessionId: Session Id which needs to be terminated.

agentHostName: The Agent Host Name for instance.

jdeHome: The Agent jde Home for instance.

Sample Request

curl --location --request POST 'https://ems4296.ad1.fusionappsdphx1.oraclevcn.com:9016/manage/mgmtrestservice/usersession/terminatehtmlsession?instanceName=tqa_926_lnx_jas_ems4071_23512&agentHostName=ems4071.ad1.fusionappsdphx1.oraclevcn.com&jdeHome=%2Fslot%2Fems15587%2Foracle%2Fjde_agent_web%2FSCFHA&sessionId=811762597378768896' \

--header 'Authorization: ••••••' \

--header 'Cookie: SMCONSOLE_SSID=tVVuWZ_H65B1JOWD_OZLJKCAFupJWqHFGVxqixAlyKhm1iL9ZDh7!829478494'

Return

HTTP status 200 is returned.

Sample Response

NA

Exception

302: Found the Managed Instance with the passed in Instance Name.

404: Unable to find the Managed Instance with the passed in Instance Name.

403: Forbidden Status Code is returned if the Authentication information passed with the Request is not valid.