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 |
|
|||
| Endpoint URL | See Endpoint | |||
| Resource | /login/userinfo/logout | |||
| Media Type | application/json | |||
| Request Model |
Cookie: JSESSIONID=MfDshWaTXBoHtCcsoyaRQYOz; |
|||
| Response Model |
{
"errorCode": "string",
"errorMessage": "string",
"result": {
"severity": "string",
"code": "string",
"description": {
"lang": "string",
"message": "string"
}
}
}
|
|||
| Request Example | Consider the following example for logout having cookie
JSESSIONID=MfDshWaTXBoHtCcsoyaRQYOz.
Cookie: JSESSIONID=MfDshWaTXBoHtCcsoyaRQYOz; |
|||
| Response Example | The response returns the message that the user logged out successfully.
{
"errorCode": "",
"errorMessage": "",
"result": {
"severity": "Info",
"code": "SVC-11222",
"description": {
"lang": "English",
"message": "User logged out successfully"
}
}
}
|
|||
| Success Response | Example:
Code: 200 successful operation |
|||
| Error Response | If the response is unsuccessful, either of the following error code is displayed:
Example: Code: 400 Parameters required are missing OR Code: 404 User not found OR Code: 500 Internal error occurred For error code response, see Error Handling . |
|||
Copyright © Cloud Software Group, Inc. All rights reserved.
