Logout Service

The various details of the Logout REST services are explained in this section. You must set the cookie in header to logout.

HTTP Method

POST

Endpoint URL

See Endpoint.

Resource

/login/userinfo/logout

Request Model

Media Type: application/json.

Cookie: JSESSIONID=MfDshWaTXBoHtCcsoyaRQYOz; 

Response Model

The server sends response 200 OK with HTTP status code for each successfully completed request. The success response format is as follows:

{

  "errorCode": "string",
  "errorMessage": "string",
  "result": {
    "severity": "string",
    "code": "string",
    "desciption": {
      "lang": "string",
      "message": "string"
    }
  }
}

If response is unsuccessful, either of the following error code is displayed:

  • 400 Bad Request
  • 404 Not Found
  • 500 Internal Server Error

For error code response, see Error Handling .