RESTful API
R81.10.X Quantum Spark 1500, 1600, 1800, 1900, 2000 Appliances Locally Managed Administration Guide|458
Response
On Success, HTTP Return code: 200
Header Name Value Description
sid
String Session unique identifier for the x-chkp-sid header
of each request.
role
String The administrator role and permissions.
read-only
Boolean True if the session is read only.
api-server-
version
String API server version.
session-
timeout
Integer Session expiration timeout in minutes.
On Failure, HTTP Return code: 400, 401, 500
Example Request
{
"user": "admin",
"password": "aa"
}
Example Response
{
"sid": "9aa5770044797d7209f8ce9b0ef0fa0",
"role": "ROLE.SUPER",
"read-only": false,
"api-server-version": "v1",
"session-timeout": 10
}
(2) Logout
Description
Log out from the current session. After you log out, the session id is no longer valid.
Request URL
POST https://<gateway-ip>:<port>/web-api/v1/logout