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

Content-Type

application/json

Send JSON object to use the API Web Services

X-chkp-sid

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

message

string

Operation status

code

string

Message code

On Failure, HTTP Return code: 400, 401, 500

Parameter Name

Type

Description

message

string

Operation status

messages

List: string

List of validation errors

code

string

Error code

Response Example

{
"code": "17999",
"message": "Logout succeeded"
}