logout
Description
Log out from the current session. After logging out, the session ID is no longer valid.
Request URL
POST
https://zerotouch.checkpoint.com/ZeroTouch/web_api/v2/logout
Request Headers
|
Parameter Name |
Type |
Description |
|---|---|---|
|
|
application/json |
Send JSON object to use the API Web Services |
|
|
string token |
Session unique identifier as the response to the login request |
Request Body
There is no request body.
Response
On Success, HTTP Return code: 200
|
Parameter Name |
Type |
Description |
|---|---|---|
|
|
string |
Operation status |
|
|
string |
Message code |
On Failure, HTTP Return code: 400, 401, 500
|
Parameter Name |
Type |
Description |
|---|---|---|
|
|
string |
Operation status |
|
|
List: string |
List of validation errors |
|
|
string |
Error code |
Response Example
{
"code": "17999",
"message": "Logout succeeded"
}
|