Logout Session v1

post

/jderest/tokenrequest/logout

Log out with this token and terminate the session held for the token passed.

Request

Supported Media Types
Header Parameters
Body ()
The input to the tokenrequest/logout service.
Root Schema : LogoutRequest
Type: object
The input to the tokenrequest/logout service.
Show Source
Back to Top

Response

Supported Media Types

200 Response

Successful Execution

400 Response

Bad Request - Invalid JSON Input

415 Response

Invalid Content-Type Header - Must use application/json

444 Response

Invalid Token
Body ()
Root Schema : ServiceErrorResponse
Type: object
Error Response
Show Source

500 Response

Server Failed to Process Request
Body ()
Root Schema : ServiceErrorResponse
Type: object
Error Response
Show Source
Back to Top

Examples

Example Request

Send the AIS token to log out of the AIS Server session and associated HTML Server session.

curl -i -X POST -H "Content-Type:application/json" http://ais_server_url/jderest/tokenrequest/logout -d
 {
      "token": "044FZz4bnE7FHDcAhN21DU4etFzeRigKFshKzqfSet8f1g=MDE4MDA4NDczODAzNDM1NjU3MTMyNTE5TXlEZXZpY2UxNDc4NjQxNDUzNDk0"
 }

Example Response

The following example shows the contents of the response body.

{"status": "Success"}
Back to Top