Print Download PDF Send Feedback

Previous

Next

Zero Touch API Commands for Gaia Gateways

In This Section:

show-all-gaia-versions-ids

add-gaia-template

clone-gaia-templates

show-gaia-template

show-all-gaia-templates

set-gaia-template

delete-gaia-template

claim-gaia-gateway

show-gaia-claimed-gateway

show-gaia-claimed-gateway-configuration

show-all-gaia-claimed-gateways

set-gaia-claimed-gateway-configuration

show-gaia-claimed-gateway-status

unclaim-gaia-gateway

show-all-gaia-versions-ids

Description

Returns a list of gaia versions ids available on Zero Touch server. IDs found in the list can be used as values of gaia-version-id parameter.

Request URL

POST
https://zerotouch.checkpoint.com/ZeroTouch/web_api/v2/show-all-gaia-versions-ids

Request Headers

Header Name

Value

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
List of Gaia versions IDs with descriptions

Parameter Name

Value

Description

gaia-version-description

string

Description of Gaia version

gaia-version-id

int

ID number of Gaia version from: show-all-gaia-versions-ids

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

Parameter Name

Value

Description

message

string

Operation status

messages

List: string

List of validation errors

code

string

Error code

Response

[

    {

        "gaia-version-description": "Keep Current Version",

        "gaia-version-id": 4

    },

    {

        "gaia-version-description": "R80.10 (GA Take 421)",

        "gaia-version-id": 5

    },

    {

        "gaia-version-description": "R80.10 (GA Take 421) with R80.10 Jumbo Hotfix - Take 42",

        "gaia-version-id": 6

    }

]

Note - Response list provided only as an example. Use the values available from show-all-gaia-versions-ids.

add-gaia-template

Description

Create a new Gaia Gateway template for an account-id.

If the gateway is ready for deployment with its final configuration and deployment decisions, the under-construction parameter should remain at its default (false). The gateway will be enabled for downloads from Zero Touch immediately when it is claimed.

If the gateway needs additional editing, under-construction should be set to true in the template to prevent downloads until the final configuration editing is complete.

The Gaia Gateway only has access to its template when it is being claimed. Edits to the template afterward have no effect on the gateway.

Use the set-gaia-claimed-gateway-configuration command to edit the Gaia Gateway before deployment and to change under-construction to false to allow the Zero Touch downloads to start.

Request URL

POST
https://zerotouch.checkpoint.com/ZeroTouch/web_api/v2/add-gaia-template

Request Headers

Header Name

Value

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

Parameter Name

Value

Description

name

Required

string

The new template's name

account-id

Required

int

The User Center account to which gateways and templates belong

admin-password

Required

string

Administrator password for the gateway

The admin-password is returned as “******” in the JSON response

ftw-sic-key

Required

string

Creating a Secure Internal Communication (SIC) activation key

identification-key

Required

string

This is configured on the gateway as a unique identifier to be recognized unambiguously by Zero Touch

The string for the key is set at the gateway's command line interface:

set cloud-config identification-key <key_string>

If there are repeated invalid entries of identification-key in API requests, the gateway will lock and the parameter is-locked will be set to true

Set is-locked to false to unlock the gateway and re-try the identification-key

gaia-version-id

Required

int

ID number of Gaia version from: show-all-gaia-versions-ids

force-reimage

Required

boolean

If true, this forces a re-image of the machine even if the selected Gaia image version is already installed

cluster-member

Required

boolean

If true, the gateway is a member of a cluster

under-construction

Required

boolean

A true value prevents downloads to the gateway until the final configuration and deployment decisions are complete

Default value: false

config-ipv6

Required

boolean

Must be true to set ipv6 configuration

upload-info

Required

boolean

If true, improves product experience by sending data to Check Point

download-info

Required

boolean

If true, automatically downloads Blade Contracts and other important data (highly recommended)

time-zone

Required

string

Time zone for the gateway

template-id

int

The template's unique identifier

comments

string

General comments

user-script

string

CLI commands execute on the gateway immediately after all other settings are applied

In multiline CLISH scripts, use end line ("\n") at the end of each command line

"user-script": "set static-route 192.0.2.100 nexthop gateway address 192.0.2.155 on\nset static-route 192.0.3.0/24 nexthop blackhole\n"

Before executing the script, the gateway locks the database automatically

No need to add the "lock database override" command to the script

dns-server1

string

The primary DNS server

dns-server2

string

The secondary DNS server

dns-server3

string

The tertiary DNS server

ntp1

string

Network Time Protocol for clock synchronization between computer systems

ntp.checkpoint.com is recommended

ntp2

string

Network Time Protocol for clock synchronization between computer systems

ntp2.checkpoint.com is recommended

creating-user

string

The user who created the template

last-modifying-user

string

The user who last modified the template

mgmt-eth-ip-address-ipv6

string

Enter this IP address if config-ipv6 is true

mgmt-eth-ip-address-ipv4

string

IPv4 address

mgmt-eth-subnet-mask-ipv4

string

IPv4's subnet mask

mgmt-eth-mask-length-ipv6

int

Enter the mask length value if config-ipv6 is true

default-gateway-ipv6

string

Enter the default gateway if config-ipv6 is true

ntp1-version

string

Most recent version of Check Point's NTP servers is the string value "4"

ntp2-version

string

Most recent version of Check Point's NTP servers is the string value "4"

default-gateway-ipv4

string

IPv4's default gateway

proxy-server

string

IP address of the proxy server

proxy-port

int

Proxy port number for client connections (8080 by default)

Response

On Success, HTTP Return code: 200

Parameter Name

Value

Description

creation-time

object

Timestamps for creating a template

last-modify-time

object

Timestamps for last modifying a template

Parameter Name

Value

Description

account-id

int

The User Center account to which gateways and templates belong

template-id

int

The template's unique identifier

mgmt-eth-subnet-mask-ipv4

string

IPv4's subnet mask

config-ipv6

boolean

Must be true to set ipv6 configuration

mgmt-eth-mask-length-ipv6

int

Enter the mask length value if config-ipv6 is true

default-gateway-ipv6

string

Enter the default gateway if config-ipv6 is true

under-construction

boolean

A true value prevents downloads to the gateway until the final configuration and deployment decisions are complete

Default value: false

ntp1

string

Network Time Protocol for clock synchronization between computer systems

ntp.checkpoint.com is recommended

ntp1-version

string

Most recent version of Check Point's NTP servers is the string value "4"

ntp2

string

Network Time Protocol for clock synchronization between computer systems

ntp2.checkpoint.com is recommended

ntp2-version

string

Most recent version of Check Point's NTP servers is the string value "4"

default-gateway-ipv4

string

IPv4's default gateway

proxy-server

string

IP address of the proxy server

proxy-port

int

Proxy port number for client connections (8080 by default)

gaia-version-id

int

ID number of Gaia version from: show-all-gaia-versions-ids

force-reimage

boolean

If true, this forces a re-image of the machine even if the selected Gaia image version is already installed

identification-key

string

This is configured on the gateway as a unique identifier to be recognized unambiguously by Zero Touch

The string for the key is set at the gateway's command line interface:

set cloud-config identification-key <key_string>

If there are repeated invalid entries of identification-key in API requests, the gateway will lock and the parameter is-locked will be set to true

Set is-locked to false to unlock the gateway and re-try the identification-key

comments

string

General comments

creating-user

string

The user who created the template

last-modifying-user

string

The user who last modified the template

user-script

string

CLI commands execute on the gateway immediately after all other settings are applied

In multiline CLISH scripts, use end line ("\n") at the end of each command line

"user-script": "set static-route 192.0.2.100 nexthop gateway address 192.0.2.155 on\nset static-route 192.0.3.0/24 nexthop blackhole\n"

Before executing the script, the gateway locks the database automatically

No need to add the "lock database override" command to the script

admin-password

string

Administrator password for the gateway

The admin-password is returned as “******” in the JSON response

upload-info

boolean

If true, improves product experience by sending data to Check Point

mgmt-eth-ip-address-ipv4

string

IPv4 address

ftw-sic-key

string

Creating a Secure Internal Communication (SIC) activation key

dns-server1

string

The primary DNS server

dns-server2

string

The secondary DNS server

dns-server3

string

The tertiary DNS server

download-info

boolean

If true, automatically downloads Blade Contracts and other important data (highly recommended)

cluster-member

boolean

If true, the gateway is a member of a cluster

mgmt-eth-ip-address-ipv6

string

Enter this IP address if config-ipv6 is true

time-zone

string

Time zone for the gateway

name

string

The template name

creation-time

Parameter Name

Value

Description

posix

int

The value is the number of milliseconds that have elapsed since 00:00:00, 1 January 1970

iso-8601

string

Date and time represented in international ISO 8601 format

last-modify-time

Parameter Name

Value

Description

posix

int

The value is the number of milliseconds that have elapsed since 00:00:00, 1 January 1970

iso-8601

string

Date and time represented in international ISO 8601 format

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

Parameter Name

Value

Description

message

string

Operation status

messages

List: string

List of validation errors

code

string

Error code

Request

{

"name": "Template B",

"time-zone": "London, Europe (GMT)",

"proxy-port": null,

"account-id": 7899567,

"template-id": 5222500,

"comments": "My comments",

"user-script": "",

"upload-info": true,

"ftw-sic-key": "y6y6y6",

"dns-server1": "",

"dns-server2": "",

"dns-server3": "",

"config-ipv6": false,

"ntp1": "ntp.checkpoint.com",

"ntp2": "ntp2.checkpoint.com",

"identification-key": "k2k2k2",

"creating-user": "user@domain.com",

"last-modifying-user": "user@domain.com",

"admin-password": "l9l9l9",

"mgmt-eth-ip-address-ipv6": "",

"mgmt-eth-ip-address-ipv4": "",

"gaia-version-id": 4,

"download-info": true,

"cluster-member": false,

"mgmt-eth-subnet-mask-ipv4": "",

"mgmt-eth-mask-length-ipv6": "",

"default-gateway-ipv6": "",

"under-construction": false,

"ntp1-version": "4",

"ntp2-version": "4",

"default-gateway-ipv4": "",

"proxy-server": "",

"force-reimage": false

}

Response

{

"account-id": 7899567,

"template-id": 87352492,

"mgmt-eth-subnet-mask-ipv4": "",

"config-ipv6": false,

"mgmt-eth-mask-length-ipv6": "",

"default-gateway-ipv6": "",

"under-construction": false,

"ntp1": "ntp.checkpoint.com",

"ntp1-version": "4",

"ntp2": "ntp2.checkpoint.com",

"ntp2-version": "4",

"default-gateway-ipv4": "",

"proxy-server": "",

"force-reimage": false,

"identification-key": "******",

"comments": "My comments",

"creating-user": "user@domain.com",

"last-modifying-user": "user@domain.com",

"user-script": "",

"admin-password": "******",

"upload-info": true,

"mgmt-eth-ip-address-ipv4": "",

"ftw-sic-key": "******",

"dns-server1": "",

"dns-server2": "",

"dns-server3": "",

"creation-time": {

"posix": 1530099088,

"iso-8601": "2018-06-27T11:31"

},

"last-modify-time": {

"posix": 1530099088,

"iso-8601": "2018-06-27T11:31"

},

"gaia-version-id": 4,

"download-info": true,

"cluster-member": false,

"mgmt-eth-ip-address-ipv6": "",

"proxy-port": null,

"time-zone": "London, Europe (GMT)",

"name": "Template B"

}

clone-gaia-templates

Description

Copy selected templates from source-account-id to target-account-id.

The user should have administrator rights on both source-account-id and target-account-id.

To create copies under the same account, set identical values to the source-account-id and the target-account-id fields.

Request URL

POST
https://zerotouch.checkpoint.com/ZeroTouch/web_api/v2/clone-gaia-templates

Request Headers

Header Name

Value

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

Parameter Name

Value

Description

source-account-id

Required

int

The User Center account to which templates belong

target-account-id

Required

int

The User Center account to which templates should be copied

items-to-clone

Required

List: object

List of templates to be copied

items-to-clone

Parameter Name

Value

Description

item-id

Required

int

The template's unique identifier

item-new-name

Required

string

Name given to the copied template under target account

Response

On Success, HTTP Return code: 200

Parameter Name

Value

Description

source-account-id

int

The User Center account to which templates belong

target-account-id

int

The User Center account to which templates should be copied

items-to-clone

List: object

List of templates to be copied

items-to-clone

Parameter Name

Value

Description

item-id

int

The template's unique identifier

item-new-name

string

Name given to the copied template under target account

message

string

Operation status for the item

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

Parameter Name

Value

Description

message

string

Operation status

messages

List: string

List of validation errors

code

string

Error code

Request

{

       "source-account-id": 7899567,

       "target-account-id": 6301812,

       "items-to-clone": [

              {

                     "item-id": 87352492,

                     "item-new-name": "copy_one"

              },

              {

                     "item-id": 57359031,

                     "item-new-name": "copy_two"

              }

       ]

}

Response

[

    {

        "source-account-id": 7899567,

        "target-account-id": 6301812,

        "items-to-clone": [

            {

                "item-id": 87352492,

                "item-new-name": "copy_one",

                "message": "Clone operation succeeded"

            },

            {

                "item-id": 57359031,

                "item-new-name": "copy_two",

                "message": "Clone operation succeeded"

            }

        ]

    }

]

show-gaia-template

Description

Retrieve an existing Gaia Gateway template with its template-id.

Request URL

POST
https://zerotouch.checkpoint.com/ZeroTouch/web_api/v2/show-gaia-template

Request Headers

Header Name

Value

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

Parameter Name

Value

Description

template-id

Required

int

The template's unique identifier

account-id

Required

int

The User Center account to which gateways and templates belong

Response

On Success, HTTP Return code: 200

Parameter Name

Value

Description

creation-time

object

Timestamps for creating a template

last-modify-time

object

Timestamps for last modifying a template

Parameter Name

Value

Description

account-id

int

The User Center account to which gateways and templates belong

template-id

int

The template's unique identifier

mgmt-eth-subnet-mask-ipv4

string

IPv4's subnet mask

config-ipv6

boolean

Must be true to set ipv6 configuration

mgmt-eth-mask-length-ipv6

int

Enter the mask length value if config-ipv6 is true

default-gateway-ipv6

string

Enter the default gateway if config-ipv6 is true

under-construction

boolean

A true value prevents downloads to the gateway until the final configuration and deployment decisions are complete

Default value: false

ntp1

string

Network Time Protocol for clock synchronization between computer systems

ntp.checkpoint.com is recommended

ntp1-version

string

Most recent version of Check Point's NTP servers is the string value "4"

ntp2

string

Network Time Protocol for clock synchronization between computer systems

ntp2.checkpoint.com is recommended

ntp2-version

string

Most recent version of Check Point's NTP servers is the string value "4"

default-gateway-ipv4

string

IPv4's default gateway

proxy-server

string

IP address of the proxy server

proxy-port

int

Proxy port number for client connections (8080 by default)

gaia-version-id

int

ID number of Gaia version from: show-all-gaia-versions-ids

force-reimage

boolean

If true, this forces a re-image of the machine even if the selected Gaia image version is already installed

identification-key

string

This is configured on the gateway as a unique identifier to be recognized unambiguously by Zero Touch

The string for the key is set at the gateway's command line interface:

set cloud-config identification-key <key_string>

If there are repeated invalid entries of identification-key in API requests, the gateway will lock and the parameter is-locked will be set to true

Set is-locked to false to unlock the gateway and re-try the identification-key

comments

string

General comments

creating-user

string

The user who created the template

last-modifying-user

string

The user who last modified the template

user-script

string

CLI commands execute on the gateway immediately after all other settings are applied

In multiline CLISH scripts, use end line ("\n") at the end of each command line

"user-script": "set static-route 192.0.2.100 nexthop gateway address 192.0.2.155 on\nset static-route 192.0.3.0/24 nexthop blackhole\n"

Before executing the script, the gateway locks the database automatically

No need to add the "lock database override" command to the script

admin-password

string

Administrator password for the gateway

The admin-password is returned as “******” in the JSON response

upload-info

boolean

If true, improves product experience by sending data to Check Point

mgmt-eth-ip-address-ipv4

string

IPv4 address

ftw-sic-key

string

Creating a Secure Internal Communication (SIC) activation key

dns-server1

string

The primary DNS server

dns-server2

string

The secondary DNS server

dns-server3

string

The tertiary DNS server

download-info

boolean

If true, automatically downloads Blade Contracts and other important data (highly recommended)

cluster-member

boolean

If true, the gateway is a member of a cluster

mgmt-eth-ip-address-ipv6

string

Enter this IP address if config-ipv6 is true

time-zone

string

Time zone for the gateway

name

string

The template name

creation-time

Parameter Name

Value

Description

posix

int

The value is the number of milliseconds that have elapsed since 00:00:00, 1 January 1970

iso-8601

string

Date and time represented in international ISO 8601 format

last-modify-time

Parameter Name

Value

Description

posix

int

The value is the number of milliseconds that have elapsed since 00:00:00, 1 January 1970

iso-8601

string

Date and time represented in international ISO 8601 format

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

Parameter Name

Value

Description

message

string

Operation status

messages

List: string

List of validation errors

code

string

Error code

Request

{

"template-id": 87352492,

"account-id": 7899567

}

Response

{

"account-id": 7899567,

"template-id": 87352492,

"mgmt-eth-subnet-mask-ipv4": "",

"config-ipv6": false,

"mgmt-eth-mask-length-ipv6": "",

"default-gateway-ipv6": "",

"under-construction": false,

"ntp1": "ntp.checkpoint.com",

"ntp1-version": "4",

"ntp2": "ntp2.checkpoint.com",

"ntp2-version": "4",

"default-gateway-ipv4": "",

"proxy-server": "",

"force-reimage": false,

"identification-key": "******",

"comments": "My comments",

"creating-user": "user@domain.com",

"last-modifying-user": "user@domain.com",

"user-script": "",

"admin-password": "******",

"upload-info": true,

"mgmt-eth-ip-address-ipv4": "",

"ftw-sic-key": "******",

"dns-server1": "",

"dns-server2": "",

"dns-server3": "",

"creation-time": {

"posix": 1530099088,

"iso-8601": "2018-06-27T11:31"

},

"last-modify-time": {

"posix": 1530099088,

"iso-8601": "2018-06-27T11:31"

},

"gaia-version-id": 4,

"download-info": true,

"cluster-member": false,

"mgmt-eth-ip-address-ipv6": "",

"proxy-port": null,

"time-zone": "London, Europe (GMT)",

"name": "Template B"

}

show-all-gaia-templates

Description

Retrieve all Gaia Gateway templates for an account-id.

Request URL

POST
https://zerotouch.checkpoint.com/ZeroTouch/web_api/v2/show-all-gaia-templates

Request Headers

Header Name

Value

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

Parameter Name

Value

Description

account-ids

Required

List: int

List of User Center account IDs to which templates belong

Response

On Success, HTTP Return code: 200

Parameter Name

Value

Description

creation-time

object

Timestamps for creating a template

last-modify-time

object

Timestamps for last modifying a template

Parameter Name

Value

Description

account-id

int

The User Center account to which gateways and templates belong

template-id

int

The template's unique identifier

mgmt-eth-subnet-mask-ipv4

string

IPv4's subnet mask

config-ipv6

boolean

Must be true to set ipv6 configuration

mgmt-eth-mask-length-ipv6

int

Enter the mask length value if config-ipv6 is true

default-gateway-ipv6

string

Enter the default gateway if config-ipv6 is true

under-construction

boolean

A true value prevents downloads to the gateway until the final configuration and deployment decisions are complete

Default value: false

ntp1

string

Network Time Protocol for clock synchronization between computer systems

ntp.checkpoint.com is recommended

ntp1-version

string

Most recent version of Check Point's NTP servers is the string value "4"

ntp2

string

Network Time Protocol for clock synchronization between computer systems

ntp2.checkpoint.com is recommended

ntp2-version

string

Most recent version of Check Point's NTP servers is the string value "4"

default-gateway-ipv4

string

IPv4's default gateway

proxy-server

string

IP address of the proxy server

proxy-port

int

Proxy port number for client connections (8080 by default)

gaia-version-id

int

ID number of Gaia version from: show-all-gaia-versions-ids

force-reimage

boolean

If true, this forces a re-image of the machine even if the selected Gaia image version is already installed

identification-key

string

This is configured on the gateway as a unique identifier to be recognized unambiguously by Zero Touch

The string for the key is set at the gateway's command line interface:

set cloud-config identification-key <key_string>

If there are repeated invalid entries of identification-key in API requests, the gateway will lock and the parameter is-locked will be set to true

Set is-locked to false to unlock the gateway and re-try the identification-key

comments

string

General comments

creating-user

string

The user who created the template

last-modifying-user

string

The user who last modified the template

user-script

string

CLI commands execute on the gateway immediately after all other settings are applied

In multiline CLISH scripts, use end line ("\n") at the end of each command line

"user-script": "set static-route 192.0.2.100 nexthop gateway address 192.0.2.155 on\nset static-route 192.0.3.0/24 nexthop blackhole\n"

Before executing the script, the gateway locks the database automatically

No need to add the "lock database override" command to the script

admin-password

string

Administrator password for the gateway

The admin-password is returned as “******” in the JSON response

upload-info

boolean

If true, improves product experience by sending data to Check Point

mgmt-eth-ip-address-ipv4

string

IPv4 address

ftw-sic-key

string

Creating a Secure Internal Communication (SIC) activation key

dns-server1

string

The primary DNS server

dns-server2

string

The secondary DNS server

dns-server3

string

The tertiary DNS server

download-info

boolean

If true, automatically downloads Blade Contracts and other important data (highly recommended)

cluster-member

boolean

If true, the gateway is a member of a cluster

mgmt-eth-ip-address-ipv6

string

Enter this IP address if config-ipv6 is true

time-zone

string

Time zone for the gateway

name

string

The template name

creation-time

Parameter Name

Value

Description

posix

int

The value is the number of milliseconds that have elapsed since 00:00:00, 1 January 1970

iso-8601

string

Date and time represented in international ISO 8601 format

last-modify-time

Parameter Name

Value

Description

posix

int

The value is the number of milliseconds that have elapsed since 00:00:00, 1 January 1970

iso-8601

string

Date and time represented in international ISO 8601 format

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

Parameter Name

Value

Description

message

string

Operation status

messages

List: string

List of validation errors

code

string

Error code

Request

{

"account-ids": [7899567]

}

Response

[

{

"account-id": 7899567,

"template-id": 87352492,

"mgmt-eth-subnet-mask-ipv4": "",

"config-ipv6": false,

"mgmt-eth-mask-length-ipv6": "",

"default-gateway-ipv6": "",

"under-construction": false,

"ntp1": "ntp.checkpoint.com",

"ntp1-version": "4",

"ntp2": "ntp2.checkpoint.com",

"ntp2-version": "4",

"default-gateway-ipv4": "",

"proxy-server": "",

"force-reimage": false,

"identification-key": "******",

"comments": "My comments",

"creating-user": "user@domain.com",

"last-modifying-user": "user@domain.com",

"user-script": "",

"admin-password": "******",

"upload-info": true,

"mgmt-eth-ip-address-ipv4": "",

"ftw-sic-key": "******",

"dns-server1": "",

"dns-server2": "",

"dns-server3": "",

"creation-time": {

"posix": 1530099088,

"iso-8601": "2018-06-27T11:31"

},

"last-modify-time": {

"posix": 1530099088,

"iso-8601": "2018-06-27T11:31"

},

"gaia-version-id": 4,

"download-info": true,

"cluster-member": false,

"mgmt-eth-ip-address-ipv6": "",

"proxy-port": null,

"time-zone": "London, Europe (GMT)",

"name": "Template B"

}

]

set-gaia-template

Description

Edit an existing Gaia Gateway template.

The request changes the object for the fields that you include.

Request URL

POST
https://zerotouch.checkpoint.com/ZeroTouch/web_api/v2/set-gaia-template

Request Headers

Header Name

Value

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

Parameter Name

Value

Description

account-id

Required

int

The User Center account to which gateways and templates belong

template-id

Required

int

The template's unique identifier

mgmt-eth-subnet-mask-ipv4

string

IPv4's subnet mask

config-ipv6

boolean

Must be true to set ipv6 configuration

mgmt-eth-mask-length-ipv6

int

Enter the mask length value if config-ipv6 is true

default-gateway-ipv6

string

Enter the default gateway if config-ipv6 is true

under-construction

boolean

A true value prevents downloads to the gateway until the final configuration and deployment decisions are complete

Default value: false

ntp1

string

Network Time Protocol for clock synchronization between computer systems

ntp.checkpoint.com is recommended

ntp1-version

string

Most recent version of Check Point's NTP servers is the string value "4"

ntp2

string

Network Time Protocol for clock synchronization between computer systems

ntp2.checkpoint.com is recommended

ntp2-version

string

Most recent version of Check Point's NTP servers is the string value "4"

default-gateway-ipv4

string

IPv4's default gateway

proxy-server

string

IP address of the proxy server

proxy-port

int

Proxy port number for client connections (8080 by default)

gaia-version-id

int

ID number of Gaia version from: show-all-gaia-versions-ids

force-reimage

boolean

If true, this forces a re-image of the machine even if the selected Gaia image version is already installed

identification-key

string

This is configured on the gateway as a unique identifier to be recognized unambiguously by Zero Touch

The string for the key is set at the gateway's command line interface:

set cloud-config identification-key <key_string>

If there are repeated invalid entries of identification-key in API requests, the gateway will lock and the parameter is-locked will be set to true

Set is-locked to false to unlock the gateway and re-try the identification-key

comments

string

General comments

creating-user

string

The user who created the template

last-modifying-user

string

The user who last modified the template

user-script

string

CLI commands execute on the gateway immediately after all other settings are applied

In multiline CLISH scripts, use end line ("\n") at the end of each command line

"user-script": "set static-route 192.0.2.100 nexthop gateway address 192.0.2.155 on\nset static-route 192.0.3.0/24 nexthop blackhole\n"

Before executing the script, the gateway locks the database automatically

No need to add the "lock database override" command to the script

admin-password

string

Administrator password for the gateway

The admin-password is returned as “******” in the JSON response

upload-info

boolean

If true, improves product experience by sending data to Check Point

mgmt-eth-ip-address-ipv4

string

IPv4 address

ftw-sic-key

string

Creating a Secure Internal Communication (SIC) activation key

dns-server1

string

The primary DNS server

dns-server2

string

The secondary DNS server

dns-server3

string

The tertiary DNS server

download-info

boolean

If true, automatically downloads Blade Contracts and other important data (highly recommended)

cluster-member

boolean

If true, the gateway is a member of a cluster

mgmt-eth-ip-address-ipv6

string

Enter this IP address if config-ipv6 is true

time-zone

string

Time zone for the gateway

name

string

The template name

Response

On Success, HTTP Return code: 200

Parameter Name

Value

Description

creation-time

object

Timestamps for creating a template

last-modify-time

object

Timestamps for last modifying a template

Parameter Name

Value

Description

account-id

int

The User Center account to which gateways and templates belong

template-id

int

The template's unique identifier

mgmt-eth-subnet-mask-ipv4

string

IPv4's subnet mask

config-ipv6

boolean

Must be true to set ipv6 configuration

mgmt-eth-mask-length-ipv6

int

Enter the mask length value if config-ipv6 is true

default-gateway-ipv6

string

Enter the default gateway if config-ipv6 is true

under-construction

boolean

A true value prevents downloads to the gateway until the final configuration and deployment decisions are complete

Default value: false

ntp1

string

Network Time Protocol for clock synchronization between computer systems

ntp.checkpoint.com is recommended

ntp1-version

string

Most recent version of Check Point's NTP servers is the string value "4"

ntp2

string

Network Time Protocol for clock synchronization between computer systems

ntp2.checkpoint.com is recommended

ntp2-version

string

Most recent version of Check Point's NTP servers is the string value "4"

default-gateway-ipv4

string

IPv4's default gateway

proxy-server

string

IP address of the proxy server

proxy-port

int

Proxy port number for client connections (8080 by default)

gaia-version-id

int

ID number of Gaia version from: show-all-gaia-versions-ids

force-reimage

boolean

If true, this forces a re-image of the machine even if the selected Gaia image version is already installed

identification-key

string

This is configured on the gateway as a unique identifier to be recognized unambiguously by Zero Touch

The string for the key is set at the gateway's command line interface:

set cloud-config identification-key <key_string>

If there are repeated invalid entries of identification-key in API requests, the gateway will lock and the parameter is-locked will be set to true

Set is-locked to false to unlock the gateway and re-try the identification-key

comments

string

General comments

creating-user

string

The user who created the template

last-modifying-user

string

The user who last modified the template

user-script

string

CLI commands execute on the gateway immediately after all other settings are applied

In multiline CLISH scripts, use end line ("\n") at the end of each command line

"user-script": "set static-route 192.0.2.100 nexthop gateway address 192.0.2.155 on\nset static-route 192.0.3.0/24 nexthop blackhole\n"

Before executing the script, the gateway locks the database automatically

No need to add the "lock database override" command to the script

admin-password

string

Administrator password for the gateway

The admin-password is returned as “******” in the JSON response

upload-info

boolean

If true, improves product experience by sending data to Check Point

mgmt-eth-ip-address-ipv4

string

IPv4 address

ftw-sic-key

string

Creating a Secure Internal Communication (SIC) activation key

dns-server1

string

The primary DNS server

dns-server2

string

The secondary DNS server

dns-server3

string

The tertiary DNS server

download-info

boolean

If true, automatically downloads Blade Contracts and other important data (highly recommended)

cluster-member

boolean

If true, the gateway is a member of a cluster

mgmt-eth-ip-address-ipv6

string

Enter this IP address if config-ipv6 is true

time-zone

string

Time zone for the gateway

name

string

The template name

creation-time

Parameter Name

Value

Description

posix

int

The value is the number of milliseconds that have elapsed since 00:00:00, 1 January 1970

iso-8601

string

Date and time represented in international ISO 8601 format

last-modify-time

Parameter Name

Value

Description

posix

int

The value is the number of milliseconds that have elapsed since 00:00:00, 1 January 1970

iso-8601

string

Date and time represented in international ISO 8601 format

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

Parameter Name

Value

Description

message

string

Operation status

messages

List: string

List of validation errors

code

string

Error code

Request

{

"account-id": 7899567,

"template-id": 87352492,

"mgmt-eth-subnet-mask-ipv4": "",

"config-ipv6": false,

"mgmt-eth-mask-length-ipv6": "",

"default-gateway-ipv6": "",

"under-construction": false,

"ntp1": "ntp.checkpoint.com",

"ntp1-version": "4",

"ntp2": "ntp2.checkpoint.com",

"ntp2-version": "4",

"default-gateway-ipv4": "",

"proxy-server": "",

"force-reimage": false,

"identification-key": "******",

"comments": "My comments",

"creating-user": "user@domain.com",

"last-modifying-user": "user@domain.com",

"user-script": "",

"admin-password": "******",

"upload-info": true,

"mgmt-eth-ip-address-ipv4": "",

"ftw-sic-key": "******",

"dns-server1": "",

"dns-server2": "",

"dns-server3": "",

"gaia-version-id": 4,

"download-info": true,

"cluster-member": false,

"mgmt-eth-ip-address-ipv6": "",

"proxy-port": null,

"time-zone": "London, Europe (GMT)",

"name": "Template B"

}

Response

{

"account-id": 7899567,

"template-id": 87352492,

"mgmt-eth-subnet-mask-ipv4": "",

"config-ipv6": false,

"mgmt-eth-mask-length-ipv6": "",

"default-gateway-ipv6": "",

"under-construction": false,

"ntp1": "ntp.checkpoint.com",

"ntp1-version": "4",

"ntp2": "ntp2.checkpoint.com",

"ntp2-version": "4",

"default-gateway-ipv4": "",

"proxy-server": "",

"force-reimage": false,

"identification-key": "******",

"comments": "My comments",

"creating-user": "user@domain.com",

"last-modifying-user": "user@domain.com",

"user-script": "",

"admin-password": "******",

"upload-info": true,

"mgmt-eth-ip-address-ipv4": "",

"ftw-sic-key": "******",

"dns-server1": "",

"dns-server2": "",

"dns-server3": "",

"creation-time": {

"posix": 1530099088,

"iso-8601": "2018-06-27T11:31"

},

"last-modify-time": {

"posix": 1530099088,

"iso-8601": "2018-06-27T11:31"

},

"gaia-version-id": 4,

"download-info": true,

"cluster-member": false,

"mgmt-eth-ip-address-ipv6": "",

"proxy-port": null,

"time-zone": "London, Europe (GMT)",

"name": "Template B"

}

delete-gaia-template

Description

Delete an existing Gaia Gateway template.

Request URL

POST
https://zerotouch.checkpoint.com/ZeroTouch/web_api/v2/delete-gaia-template

Request Headers

Header Name

Value

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

Parameter Name

Value

Description

template-id

Required

int

The template's unique identifier

account-id

Required

int

The User Center account to which gateways and templates belong

Response

On Success, HTTP Return code: 200

Parameter Name

Value

Description

message

string

Operation status

code

string

Success code

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

Parameter Name

Value

Description

message

string

Operation status

messages

List: string

List of validation errors

code

string

Error code

Request

{

"template-id": 87352492,

"account-id": 7899567

}

Response

{

"message": "Template action ended successfully ",

"code": "17999"

}

claim-gaia-gateway

Description

Claim a Gaia Gateway with a template-id.

If the Gaia gateway is ready for deployment with its final configuration and deployment decisions, the under-construction parameter should be at its default (false) in the Gaia template that is used to claim the gateway. The gateway is then enabled for downloads from Zero Touch immediately.

If the Gaia gateway needs additional editing, under-construction should be set to true in the Gaia template used to claim the gateway. This prevent downloads until the final configuration editing is complete.

Edits to the template after the gateway is claimed have no effect on the gateway.

Use the set-gaia-claimed-gateway-configuration command to edit the gateway and to change under-construction to false to allow the Zero Touch downloads to start.

Request URL

POST
https://zerotouch.checkpoint.com/ZeroTouch/web_api/v2/claim-gaia-gateway

Request Headers

Header Name

Value

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

Parameter Name

Value

Description

mac

Required

string

Unique Media Access Control address for the gateway

object-name

Required

string

The gateway's name, a required field when claiming a gateway

account-id

Required

int

The User Center account to which gateways and templates belong

template-id

Required

int

The template's unique identifier

Response

On Success, HTTP Return code: 200

Parameter Name

Value

Description

creation-time

object

Timestamps for claiming a gateway

last-modify-time

object

Timestamps for last modifying a gateway

Parameter Name

Value

Description

mac

string

Unique Media Access Control address for the gateway

object-name

string

The gateway's name, a required field when claiming a gateway

template-name

string

The name of the template used to claim this gateway

is-locked

boolean

If true, the gateway is locked because of repeated invalid entries of identification-key

Set to false to unlock the gateway and retry the identification-key

It is not possible to use true to lock it

reported-status-time

int

Timestamp when the gateway last reported its status

The value is the number of milliseconds that have elapsed since 00:00:00, 1 January 1970

reported-display-status

string

Possible values:

Not reported, Installing, Finished, Rebooting, Failed, Error, Fetched

ip-address

string

The IP address from which the Zero Touch server receives status reports sent by the gateway

 

This IP address is the same as the ext-interface-ip if there are no changes from a NAT device or a proxy

ext-interface-ip

string

The IP address configured on the external interface of the gateway

sku

string

Stock Keeping Unit code for the gateway

account-id

int

The User Center account to which gateways and templates belong

template-id

int

The template's unique identifier

mgmt-eth-subnet-mask-ipv4

string

IPv4's subnet mask

config-ipv6

boolean

Must be true to set ipv6 configuration

mgmt-eth-mask-length-ipv6

int

Enter the mask length value if config-ipv6 is true

default-gateway-ipv6

string

Enter the default gateway if config-ipv6 is true

under-construction

boolean

A true value prevents downloads to the gateway until the final configuration and deployment decisions are complete

Default value: false

ntp1

string

Network Time Protocol for clock synchronization between computer systems

ntp.checkpoint.com is recommended

ntp1-version

string

Most recent version of Check Point's NTP servers is the string value "4"

ntp2

string

Network Time Protocol for clock synchronization between computer systems

ntp2.checkpoint.com is recommended

ntp2-version

string

Most recent version of Check Point's NTP servers is the string value "4"

default-gateway-ipv4

string

IPv4's default gateway

proxy-server

string

IP address of the proxy server

proxy-port

int

Proxy port number for client connections (8080 by default)

gaia-version-id

int

ID number of Gaia version from: show-all-gaia-versions-ids

force-reimage

boolean

If true, this forces a re-image of the machine even if the selected Gaia image version is already installed

identification-key

string

This is configured on the gateway as a unique identifier to be recognized unambiguously by Zero Touch

The string for the key is set at the gateway's command line interface:

set cloud-config identification-key <key_string>

If there are repeated invalid entries of identification-key in API requests, the gateway will lock and the parameter is-locked will be set to true

Set is-locked to false to unlock the gateway and re-try the identification-key

comments

string

General comments

creating-user

string

The user who claims a gateway

last-modifying-user

string

The user who last modified a gateway

user-script

string

CLI commands execute on the gateway immediately after all other settings are applied

In multiline CLISH scripts, use end line ("\n") at the end of each command line

"user-script": "set static-route 192.0.2.100 nexthop gateway address 192.0.2.155 on\nset static-route 192.0.3.0/24 nexthop blackhole\n"

Before executing the script, the gateway locks the database automatically

No need to add the "lock database override" command to the script

admin-password

string

Administrator password for the gateway

The admin-password is returned as “******” in the JSON response

upload-info

boolean

If true, improves product experience by sending data to Check Point

mgmt-eth-ip-address-ipv4

string

IPv4 address

ftw-sic-key

string

Creating a Secure Internal Communication (SIC) activation key

dns-server1

string

The primary DNS server

dns-server2

string

The secondary DNS server

dns-server3

string

The tertiary DNS server

download-info

boolean

If true, automatically downloads Blade Contracts and other important data (highly recommended)

cluster-member

boolean

If true, the gateway is a member of a cluster

mgmt-eth-ip-address-ipv6

string

Enter this IP address if config-ipv6 is true

time-zone

string

Time zone for the gateway

creation-time

Parameter Name

Value

Description

posix

int

The value is the number of milliseconds that have elapsed since 00:00:00, 1 January 1970

iso-8601

string

Date and time represented in international ISO 8601 format

last-modify-time

Parameter Name

Value

Description

posix

int

The value is the number of milliseconds that have elapsed since 00:00:00, 1 January 1970

iso-8601

string

Date and time represented in international ISO 8601 format

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

Parameter Name

Value

Description

message

string

Operation status

messages

List: string

List of validation errors

code

string

Error code

Request

{

"mac": "xx:xx:xx:8B:C8:0A",

"object-name": "gw8BC80A",

"account-id": 7899567,

"template-id": 87352492

}

Response

{

"mac": "xx:xx:xx:8B:C8:0A",

"name": "gw8BC80A",

"template-name": "Template B",

"is-locked": false,

"reported-status-time": null,

"reported-display-status": "Not reported",

"ip-address": null,

"ext-interface-ip": null,

"sku": "CPAP-SG3200-NGTX",

"account-id": 7899567,

"template-id": 87352492,

"mgmt-eth-subnet-mask-ipv4": "",

"config-ipv6": false,

"mgmt-eth-mask-length-ipv6": "",

"default-gateway-ipv6": "",

"under-construction": false,

"ntp1": "ntp.checkpoint.com",

"ntp1-version": "4",

"ntp2": "ntp2.checkpoint.com",

"ntp2-version": "4",

"default-gateway-ipv4": "",

"proxy-server": "",

"force-reimage": false,

"identification-key": "******",

"comments": "My comments",

"creating-user": "user@domain.com",

"last-modifying-user": null,

"user-script": "",

"admin-password": "******",

"upload-info": true,

"mgmt-eth-ip-address-ipv4": "",

"ftw-sic-key": "******",

"dns-server1": "",

"dns-server2": "",

"dns-server3": "",

"creation-time": {

"posix": 1530099088,

"iso-8601": "2018-06-27T11:31"

},

"last-modify-time": {

"posix": 1530099088,

"iso-8601": "2018-06-27T11:31"

},

"gaia-version-id": 4,

"download-info": true,

"cluster-member": false,

"mgmt-eth-ip-address-ipv6": "",

"proxy-port": null,

"time-zone": "London, Europe (GMT)"

}

show-gaia-claimed-gateway

Description

Retrieve information about a claimed Gaia Gateway with its MAC address.

Request URL

POST
https://zerotouch.checkpoint.com/ZeroTouch/web_api/v2/show-gaia-claimed-gateway

Request Headers

Header Name

Value

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

Header Name

Value

Description

mac

Required

string

Unique Media Access Control address for the gateway

account-id

Required

int

The User Center account to which gateways and templates belong

Response

On Success, HTTP Return code: 200

Parameter Name

Value

Description

creation-time

object

Timestamps for claiming a gateway

last-modify-time

object

Timestamps for last modifying a gateway

Parameter Name

Value

Description

mac

string

Unique Media Access Control address for the gateway

object-name

string

The gateway's name, a required field when claiming a gateway

template-name

string

The name of the template used to claim this gateway

is-locked

boolean

If true, the gateway is locked because of repeated invalid entries of identification-key

Set to false to unlock the gateway and retry the identification-key

It is not possible to use true to lock it

reported-status-time

int

Timestamp when the gateway last reported its status

The value is the number of milliseconds that have elapsed since 00:00:00, 1 January 1970

reported-display-status

string

Possible values:

Not reported, Installing, Finished, Rebooting, Failed, Error, Fetched

ip-address

string

The IP address from which the Zero Touch server receives status reports sent by the gateway

 

This IP address is the same as the ext-interface-ip if there are no changes from a NAT device or a proxy

ext-interface-ip

string

The IP address configured on the external interface of the gateway

sku

string

Stock Keeping Unit code for the gateway

account-id

int

The User Center account to which gateways and templates belong

template-id

int

The template's unique identifier

mgmt-eth-subnet-mask-ipv4

string

IPv4's subnet mask

config-ipv6

boolean

Must be true to set ipv6 configuration

mgmt-eth-mask-length-ipv6

int

Enter the mask length value if config-ipv6 is true

default-gateway-ipv6

string

Enter the default gateway if config-ipv6 is true

under-construction

boolean

A true value prevents downloads to the gateway until the final configuration and deployment decisions are complete

Default value: false

ntp1

string

Network Time Protocol for clock synchronization between computer systems

ntp.checkpoint.com is recommended

ntp1-version

string

Most recent version of Check Point's NTP servers is the string value "4"

ntp2

string

Network Time Protocol for clock synchronization between computer systems

ntp2.checkpoint.com is recommended

ntp2-version

string

Most recent version of Check Point's NTP servers is the string value "4"

default-gateway-ipv4

string

IPv4's default gateway

proxy-server

string

IP address of the proxy server

proxy-port

int

Proxy port number for client connections (8080 by default)

identification-key

string

This is configured on the gateway as a unique identifier to be recognized unambiguously by Zero Touch

The string for the key is set at the gateway's command line interface:

set cloud-config identification-key <key_string>

If there are repeated invalid entries of identification-key in API requests, the gateway will lock and the parameter is-locked will be set to true

Set is-locked to false to unlock the gateway and re-try the identification-key

comments

string

General comments

creating-user

string

The user who claims a gateway

last-modifying-user

string

The user who last modified a gateway

user-script

string

CLI commands execute on the gateway immediately after all other settings are applied

In multiline CLISH scripts, use end line ("\n") at the end of each command line

"user-script": "set static-route 192.0.2.100 nexthop gateway address 192.0.2.155 on\nset static-route 192.0.3.0/24 nexthop blackhole\n"

Before executing the script, the gateway locks the database automatically

No need to add the "lock database override" command to the script

admin-password

string

Administrator password for the gateway

The admin-password is returned as “******” in the JSON response

upload-info

boolean

If true, improves product experience by sending data to Check Point

mgmt-eth-ip-address-ipv4

string

IPv4 address

gaia-version-id

int

ID number of Gaia version from: show-all-gaia-versions-ids

force-reimage

boolean

If true, this forces a re-image of the machine even if the selected Gaia image version is already installed

ftw-sic-key

string

Creating a Secure Internal Communication (SIC) activation key

dns-server1

string

The primary DNS server

dns-server2

string

The secondary DNS server

dns-server3

string

The tertiary DNS server

download-info

boolean

If true, automatically downloads Blade Contracts and other important data (highly recommended)

cluster-member

boolean

If true, the gateway is a member of a cluster

mgmt-eth-ip-address-ipv6

string

Enter this IP address if config-ipv6 is true

time-zone

string

Time zone for the gateway

creation-time

Parameter Name

Value

Description

posix

int

The value is the number of milliseconds that have elapsed since 00:00:00, 1 January 1970

iso-8601

string

Date and time represented in international ISO 8601 format

last-modify-time

Parameter Name

Value

Description

posix

int

The value is the number of milliseconds that have elapsed since 00:00:00, 1 January 1970

iso-8601

string

Date and time represented in international ISO 8601 format

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

Parameter Name

Value

Description

message

string

Operation status

messages

List: string

List of validation errors

code

string

Error code

Request

{

"mac": "xx:xx:xx:8B:C8:0A",

"account-id": 7899567

}

Response

{

"mac": "xx:xx:xx:8B:C8:0A",

"object-name": "gw7f8BC80A",

"template-name": "Template B",

"is-locked": false,

"reported-status-time": null,

"reported-display-status": "Not reported",

"ip-address": null,

"ext-interface-ip": null,

"sku": "CPAP-SG4800-NGTP",

"account-id": 7899567,

"template-id": 905891751,

"mgmt-eth-subnet-mask-ipv4": "",

"config-ipv6": false,

"mgmt-eth-mask-length-ipv6": "",

"default-gateway-ipv6": "",

"under-construction": false,

"ntp1": "ntp.checkpoint.com",

"ntp1-version": "4",

"ntp2": "ntp2.checkpoint.com",

"ntp2-version": "4",

"default-gateway-ipv4": "",

"proxy-server": "",

"force-reimage": false,

"identification-key": "******",

"comments": "My comments",

"creating-user": "user@domain.com",

"last-modifying-user": null,

"user-script": "",

"admin-password": "******",

"upload-info": true,

"mgmt-eth-ip-address-ipv4": "",

"ftw-sic-key": "******",

"dns-server1": "",

"dns-server2": "",

"dns-server3": "",

"creation-time": {

"posix": 1530099088,

"iso-8601": "2018-06-27T11:31"

},

"last-modify-time": {

"posix": 1530099088,

"iso-8601": "2018-06-27T11:31"

},

"gaia-version-id": 4,

"download-info": true,

"cluster-member": false,

"mgmt-eth-ip-address-ipv6": "",

"proxy-port": null,

"time-zone": "London, Europe (GMT)",

}

show-gaia-claimed-gateway-configuration

Description

Retrieve a claimed Gaia Gateway configuration with its MAC address.

Request URL

POST
https://zerotouch.checkpoint.com/ZeroTouch/web_api/v2/show-gaia-claimed-gateway-configuration

Request Headers

Header Name

Value

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

Header Name

Value

Description

mac

Required

string

Unique Media Access Control address for the gateway

account-id

Required

int

The User Center account to which gateways and templates belong

Response

On Success, HTTP Return code: 200

Parameter Name

Value

Description

creation-time

object

Timestamps for claiming a gateway

last-modify-time

object

Timestamps for last modifying a gateway

Parameter Name

Value

Description

mac

string

Unique Media Access Control address for the gateway

object-name

string

The gateway's name, a required field when claiming a gateway

template-name

string

The name of the template used to claim this gateway

is-locked

boolean

If true, the gateway is locked because of repeated invalid entries of identification-key

Set to false to unlock the gateway and retry the identification-key

It is not possible to use true to lock it

reported-status-time

int

Timestamp when the gateway last reported its status

The value is the number of milliseconds that have elapsed since 00:00:00, 1 January 1970

reported-display-status

string

Possible values:

Not reported, Installing, Finished, Rebooting, Failed, Error, Fetched

ip-address

string

The IP address from which the Zero Touch server receives status reports sent by the gateway

 

This IP address is the same as the ext-interface-ip if there are no changes from a NAT device or a proxy

ext-interface-ip

string

The IP address configured on the external interface of the gateway

sku

string

Stock Keeping Unit code for the gateway

account-id

int

The User Center account to which gateways and templates belong

template-id

int

The template's unique identifier

mgmt-eth-subnet-mask-ipv4

string

IPv4's subnet mask

config-ipv6

boolean

Must be true to set ipv6 configuration

mgmt-eth-mask-length-ipv6

int

Enter the mask length value if config-ipv6 is true

default-gateway-ipv6

string

Enter the default gateway if config-ipv6 is true

under-construction

boolean

A true value prevents downloads to the gateway until the final configuration and deployment decisions are complete

Default value: false

ntp1

string

Network Time Protocol for clock synchronization between computer systems

ntp.checkpoint.com is recommended

ntp1-version

string

Most recent version of Check Point's NTP servers is the string value "4"

ntp2

string

Network Time Protocol for clock synchronization between computer systems

ntp2.checkpoint.com is recommended

ntp2-version

string

Most recent version of Check Point's NTP servers is the string value "4"

default-gateway-ipv4

string

IPv4's default gateway

proxy-server

string

IP address of the proxy server

proxy-port

int

Proxy port number for client connections (8080 by default)

gaia-version-id

int

ID number of Gaia version from: show-all-gaia-versions-ids

force-reimage

boolean

If true, this forces a re-image of the machine even if the selected Gaia image version is already installed

identification-key

string

This is configured on the gateway as a unique identifier to be recognized unambiguously by Zero Touch

The string for the key is set at the gateway's command line interface:

set cloud-config identification-key <key_string>

If there are repeated invalid entries of identification-key in API requests, the gateway will lock and the parameter is-locked will be set to true

Set is-locked to false to unlock the gateway and re-try the identification-key

comments

string

General comments

creating-user

string

The user who claims a gateway

last-modifying-user

string

The user who last modified a gateway

user-script

string

CLI commands execute on the gateway immediately after all other settings are applied

In multiline CLISH scripts, use end line ("\n") at the end of each command line

"user-script": "set static-route 192.0.2.100 nexthop gateway address 192.0.2.155 on\nset static-route 192.0.3.0/24 nexthop blackhole\n"

Before executing the script, the gateway locks the database automatically

No need to add the "lock database override" command to the script

admin-password

string

Administrator password for the gateway

The admin-password is returned as “******” in the JSON response

upload-info

boolean

If true, improves product experience by sending data to Check Point

mgmt-eth-ip-address-ipv4

string

IPv4 address

ftw-sic-key

string

Creating a Secure Internal Communication (SIC) activation key

dns-server1

string

The primary DNS server

dns-server2

string

The secondary DNS server

dns-server3

string

The tertiary DNS server

download-info

boolean

If true, automatically downloads Blade Contracts and other important data (highly recommended)

cluster-member

boolean

If true, the gateway is a member of a cluster

mgmt-eth-ip-address-ipv6

string

Enter this IP address if config-ipv6 is true

time-zone

string

Time zone for the gateway

creation-time

Parameter Name

Value

Description

posix

int

The value is the number of milliseconds that have elapsed since 00:00:00, 1 January 1970

iso-8601

string

Date and time represented in international ISO 8601 format

last-modify-time

Parameter Name

Value

Description

posix

int

The value is the number of milliseconds that have elapsed since 00:00:00, 1 January 1970

iso-8601

string

Date and time represented in international ISO 8601 format

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

Parameter Name

Value

Description

message

string

Operation status

messages

List: string

List of validation errors

code

string

Error code

Request

{

"mac": "xx:xx:xx:8B:C8:0A",

"account-id": 7899567

}

Response

{

"mac": "xx:xx:xx:8B:C8:0A",

"object-name": "gw7f8BC80A",

"template-name": "Template B",

"is-locked": false,

"reported-status-time": null,

"reported-display-status": "Not reported",

"ip-address": null,

"ext-interface-ip": null,

"sku": "CPAP-SG4800-NGTP",

"account-id": 7899567,

"template-id": 905891751,

"mgmt-eth-subnet-mask-ipv4": "",

"config-ipv6": false,

"mgmt-eth-mask-length-ipv6": "",

"default-gateway-ipv6": "",

"under-construction": false,

"ntp1": "ntp.checkpoint.com",

"ntp1-version": "4",

"ntp2": "ntp2.checkpoint.com",

"ntp2-version": "4",

"default-gateway-ipv4": "",

"proxy-server": "",

"force-reimage": false,

"identification-key": "******",

"comments": "My comments",

"creating-user": "user@domain.com",

"last-modifying-user": null,

"user-script": "",

"admin-password": "******",

"upload-info": true,

"mgmt-eth-ip-address-ipv4": "",

"ftw-sic-key": "******",

"dns-server1": "",

"dns-server2": "",

"dns-server3": "",

"creation-time": {

"posix": 1530099088,

"iso-8601": "2018-06-27T11:31"

},

"last-modify-time": {

"posix": 1530099088,

"iso-8601": "2018-06-27T11:31"

},

"gaia-version-id": 4,

"download-info": true,

"cluster-member": false,

"mgmt-eth-ip-address-ipv6": "",

"proxy-port": null,

"time-zone": "London, Europe (GMT)"

}

show-all-gaia-claimed-gateways

Description

Retrieve all the claimed Gaia Gateways for an account-id.

Request URL

POST
https://zerotouch.checkpoint.com/ZeroTouch/web_api/v2/show-all-gaia-claimed-gateways

Request Headers

Header Name

Value

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

Parameter Name

Value

Description

account-id

Required

int

The User Center account to which gateways and templates belong

Response

On Success, HTTP Return code: 200

Parameter Name

Value

Description

creation-time

object

Timestamps for claiming a gateway

last-modify-time

object

Timestamps for last modifying a gateway

Parameter Name

Value

Description

mac

string

Unique Media Access Control address for the gateway

object-name

string

The gateway's name, a required field when claiming a gateway

template-name

string

The name of the template used to claim this gateway

is-locked

boolean

If true, the gateway is locked because of repeated invalid entries of identification-key

Set to false to unlock the gateway and retry the identification-key

It is not possible to use true to lock it

reported-status-time

int

Timestamp when the gateway last reported its status

The value is the number of milliseconds that have elapsed since 00:00:00, 1 January 1970

reported-display-status

string

Possible values:

Not reported, Installing, Finished, Rebooting, Failed, Error, Fetched

ip-address

string

The IP address from which the Zero Touch server receives status reports sent by the gateway

 

This IP address is the same as the ext-interface-ip if there are no changes from a NAT device or a proxy

ext-interface-ip

string

The IP address configured on the external interface of the gateway

sku

string

Stock Keeping Unit code for the gateway

account-id

int

The User Center account to which gateways and templates belong

template-id

int

The template's unique identifier

mgmt-eth-subnet-mask-ipv4

string

IPv4's subnet mask

config-ipv6

boolean

Must be true to set ipv6 configuration

mgmt-eth-mask-length-ipv6

int

Enter the mask length value if config-ipv6 is true

default-gateway-ipv6

string

Enter the default gateway if config-ipv6 is true

under-construction

boolean

A true value prevents downloads to the gateway until the final configuration and deployment decisions are complete

Default value: false

ntp1

string

Network Time Protocol for clock synchronization between computer systems

ntp.checkpoint.com is recommended

ntp1-version

string

Most recent version of Check Point's NTP servers is the string value "4"

ntp2

string

Network Time Protocol for clock synchronization between computer systems

ntp2.checkpoint.com is recommended

ntp2-version

string

Most recent version of Check Point's NTP servers is the string value "4"

default-gateway-ipv4

string

IPv4's default gateway

proxy-server

string

IP address of the proxy server

proxy-port

int

Proxy port number for client connections (8080 by default)

gaia-version-id

int

ID number of Gaia version from: show-all-gaia-versions-ids

force-reimage

boolean

If true, this forces a re-image of the machine even if the selected Gaia image version is already installed

identification-key

string

This is configured on the gateway as a unique identifier to be recognized unambiguously by Zero Touch

The string for the key is set at the gateway's command line interface:

set cloud-config identification-key <key_string>

If there are repeated invalid entries of identification-key in API requests, the gateway will lock and the parameter is-locked will be set to true

Set is-locked to false to unlock the gateway and re-try the identification-key

comments

string

General comments

creating-user

string

The user who claims a gateway

last-modifying-user

string

The user who last modified a gateway

user-script

string

CLI commands execute on the gateway immediately after all other settings are applied

In multiline CLISH scripts, use end line ("\n") at the end of each command line

"user-script": "set static-route 192.0.2.100 nexthop gateway address 192.0.2.155 on\nset static-route 192.0.3.0/24 nexthop blackhole\n"

Before executing the script, the gateway locks the database automatically

No need to add the "lock database override" command to the script

admin-password

string

Administrator password for the gateway

The admin-password is returned as “******” in the JSON response

upload-info

boolean

If true, improves product experience by sending data to Check Point

mgmt-eth-ip-address-ipv4

string

IPv4 address

ftw-sic-key

string

Creating a Secure Internal Communication (SIC) activation key

dns-server1

string

The primary DNS server

dns-server2

string

The secondary DNS server

dns-server3

string

The tertiary DNS server

download-info

boolean

If true, automatically downloads Blade Contracts and other important data (highly recommended)

cluster-member

boolean

If true, the gateway is a member of a cluster

mgmt-eth-ip-address-ipv6

string

Enter this IP address if config-ipv6 is true

time-zone

string

Time zone for the gateway

creation-time

Parameter Name

Value

Description

posix

int

The value is the number of milliseconds that have elapsed since 00:00:00, 1 January 1970

iso-8601

string

Date and time represented in international ISO 8601 format

last-modify-time

Parameter Name

Value

Description

posix

int

The value is the number of milliseconds that have elapsed since 00:00:00, 1 January 1970

iso-8601

string

Date and time represented in international ISO 8601 format

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

Parameter Name

Value

Description

message

string

Operation status

messages

List: string

List of validation errors

code

string

Error code

Request

{

"account-id": 7899567

}

Response

[

{

"mac": "xx:xx:xx:8B:C8:0A",

"object-name": "gw7f8BC80A",

"template-name": "Template B",

"is-locked": false,

"reported-status-time": null,

"reported-display-status": "Not reported",

"ip-address": null,

"ext-interface-ip": null,

"sku": "CPAP-SG3200-NGTX",

"account-id": 7899567,

"template-id": 87352492,

"mgmt-eth-subnet-mask-ipv4": "",

"config-ipv6": false,

"mgmt-eth-mask-length-ipv6": "",

"default-gateway-ipv6": "",

"under-construction": false,

"ntp1": "ntp.checkpoint.com",

"ntp1-version": "4",

"ntp2": "ntp2.checkpoint.com",

"ntp2-version": "4",

"default-gateway-ipv4": "",

"proxy-server": "",

"force-reimage": false,

"identification-key": "******",

"comments": "My comments",

"creating-user": "user@domain.com",

"last-modifying-user": null,

"user-script": "",

"admin-password": "******",

"upload-info": true,

"mgmt-eth-ip-address-ipv4": "",

"ftw-sic-key": "******",

"dns-server1": "",

"dns-server2": "",

"dns-server3": "",

"creation-time": {

"posix": 1530099088,

"iso-8601": "2018-06-27T11:31"

},

"last-modify-time": {

"posix": 1530099088,

"iso-8601": "2018-06-27T11:31"

},

"gaia-version-id": 4,

"download-info": true,

"cluster-member": false,

"mgmt-eth-ip-address-ipv6": "",

"proxy-port": null,

"time-zone": "London, Europe (GMT)"

}

]

set-gaia-claimed-gateway-configuration

Description

Edit a claimed Gaia Gateway for an account-id.

The request changes the object for the fields that you include in the Request Body.

This API command is meant to edit Gaia Gateways before deployment when their under-construction parameters have been set to true by their templates. This allows changes to be made on the gateways before downloading from Zero Touch.

A gateway only has access to its template when it is being claimed. Edits to the template after the gateway is claimed have no effect on the gateway.

Set under-construction to false in the Request Body to allow the Zero Touch downloads to start.

Request URL

POST
https://zerotouch.checkpoint.com/ZeroTouch/web_api/v2/set-gaia-claimed-gateway-configuration

Request Headers

Header Name

Value

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

Parameter Name

Value

Description

mac

Required

string

Unique Media Access Control address for the gateway

account-id

Required

int

The User Center account to which gateways and templates belong

object-name

string

The gateway's name, a required field when claiming a gateway

template-name

string

The name of the template used to claim this gateway

ip-address

string

The IP address from which the Zero Touch server receives status reports sent by the gateway

 

This IP address is the same as the ext-interface-ip if there are no changes from a NAT device or a proxy

ext-interface-ip

string

The IP address configured on the external interface of the gateway

sku

string

Stock Keeping Unit code for the gateway

is-locked

boolean

If true, the gateway is locked because of repeated invalid entries of identification-key

Set to false to unlock the gateway and retry the identification-key

It is not possible to use true to lock it

reported-status-time

int

Timestamp when the gateway last reported its status

The value is the number of milliseconds that have elapsed since 00:00:00, 1 January 1970

time-zone

string

Time zone for the gateway

template-id

int

The template's unique identifier

comments

string

General comments

user-script

string

CLI commands execute on the gateway immediately after all other settings are applied

In multiline CLISH scripts, use end line ("\n") at the end of each command line

"user-script": "set static-route 192.0.2.100 nexthop gateway address 192.0.2.155 on\nset static-route 192.0.3.0/24 nexthop blackhole\n"

Before executing the script, the gateway locks the database automatically

No need to add the "lock database override" command to the script

upload-info

boolean

If true, improves product experience by sending data to Check Point

ftw-sic-key

string

Creating a Secure Internal Communication (SIC) activation key

dns-server1

string

The primary DNS server

dns-server2

string

The secondary DNS server

dns-server3

string

The tertiary DNS server

config-ipv6

boolean

Must be true to set ipv6 configuration

ntp1

string

Network Time Protocol for clock synchronization between computer systems

ntp.checkpoint.com is recommended

ntp2

string

Network Time Protocol for clock synchronization between computer systems

ntp2.checkpoint.com is recommended

identification-key

string

This is configured on the gateway as a unique identifier to be recognized unambiguously by Zero Touch

The string for the key is set at the gateway's command line interface:

set cloud-config identification-key <key_string>

If there are repeated invalid entries of identification-key in API requests, the gateway will lock and the parameter is-locked will be set to true

Set is-locked to false to unlock the gateway and re-try the identification-key

creating-user

string

The user who claims a gateway

last-modifying-user

string

The user who last modified a gateway

admin-password

string

Administrator password for the gateway

The admin-password is returned as “******” in the JSON response

mgmt-eth-ip-address-ipv6

string

Enter this IP address if config-ipv6 is true

mgmt-eth-ip-address-ipv4

string

IPv4 address

download-info

boolean

If true, automatically downloads Blade Contracts and other important data (highly recommended)

cluster-member

boolean

If true, the gateway is a member of a cluster

mgmt-eth-subnet-mask-ipv4

int

IPv4's subnet mask

mgmt-eth-mask-length-ipv6

string

Enter the mask length value if config-ipv6 is true

default-gateway-ipv6

string

Enter the default gateway if config-ipv6 is true

under-construction

boolean

A true value prevents downloads to the gateway until the final configuration and deployment decisions are complete

Default value: false

ntp1-version

string

Most recent version of Check Point's NTP servers is the string value "4"

ntp2-version

string

Most recent version of Check Point's NTP servers is the string value "4"

default-gateway-ipv4

string

IPv4's default gateway

proxy-server

string

IP address of the proxy server

proxy-port

int

Proxy port number for client connections (8080 by default)

gaia-version-id

int

ID number of Gaia version from: show-all-gaia-versions-ids

force-reimage

boolean

If true, this forces a re-image of the machine even if the selected Gaia image version is already installed

Response

On Success, HTTP Return code: 200

Parameter Name

Value

Description

creation-time

object

Timestamps for claiming a gateway

last-modify-time

object

Timestamps for last modifying a gateway

Parameter Name

Value

Description

mac

string

Unique Media Access Control address for the gateway

object-name

string

The gateway's name, a required field when claiming a gateway

template-name

string

The name of the template used to claim this gateway

is-locked

boolean

If true, the gateway is locked because of repeated invalid entries of identification-key

Set to false to unlock the gateway and retry the identification-key

It is not possible to use true to lock it

reported-status-time

int

Timestamp when the gateway last reported its status

The value is the number of milliseconds that have elapsed since 00:00:00, 1 January 1970

reported-display-status

string

Possible values:

Not reported, Installing, Finished, Rebooting, Failed, Error, Fetched

ip-address

string

The IP address from which the Zero Touch server receives status reports sent by the gateway

 

This IP address is the same as the ext-interface-ip if there are no changes from a NAT device or a proxy

ext-interface-ip

string

The IP address configured on the external interface of the gateway

sku

string

Stock Keeping Unit code for the gateway

account-id

int

The User Center account to which gateways and templates belong

template-id

int

The template's unique identifier

mgmt-eth-subnet-mask-ipv4

string

IPv4's subnet mask

config-ipv6

boolean

Must be true to set ipv6 configuration

mgmt-eth-mask-length-ipv6

int

Enter the mask length value if config-ipv6 is true

default-gateway-ipv6

string

Enter the default gateway if config-ipv6 is true

under-construction

boolean

A true value prevents downloads to the gateway until the final configuration and deployment decisions are complete

Default value: false

ntp1

string

Network Time Protocol for clock synchronization between computer systems

ntp.checkpoint.com is recommended

ntp1-version

string

Most recent version of Check Point's NTP servers is the string value "4"

ntp2

string

Network Time Protocol for clock synchronization between computer systems

ntp2.checkpoint.com is recommended

ntp2-version

string

Most recent version of Check Point's NTP servers is the string value "4"

default-gateway-ipv4

string

IPv4's default gateway

proxy-server

string

IP address of the proxy server

proxy-port

int

Proxy port number for client connections (8080 by default)

gaia-version-id

int

ID number of Gaia version from: show-all-gaia-versions-ids

force-reimage

boolean

If true, this forces a re-image of the machine even if the selected Gaia image version is already installed

identification-key

string

This is configured on the gateway as a unique identifier to be recognized unambiguously by Zero Touch

The string for the key is set at the gateway's command line interface:

set cloud-config identification-key <key_string>

If there are repeated invalid entries of identification-key in API requests, the gateway will lock and the parameter is-locked will be set to true

Set is-locked to false to unlock the gateway and re-try the identification-key

comments

string

General comments

creating-user

string

The user who claims a gateway

last-modifying-user

string

The user who last modified a gateway

user-script

string

CLI commands execute on the gateway immediately after all other settings are applied

In multiline CLISH scripts, use end line ("\n") at the end of each command line

"user-script": "set static-route 192.0.2.100 nexthop gateway address 192.0.2.155 on\nset static-route 192.0.3.0/24 nexthop blackhole\n"

Before executing the script, the gateway locks the database automatically

No need to add the "lock database override" command to the script

admin-password

string

Administrator password for the gateway

The admin-password is returned as “******” in the JSON response

upload-info

boolean

If true, improves product experience by sending data to Check Point

mgmt-eth-ip-address-ipv4

string

IPv4 address

ftw-sic-key

string

Creating a Secure Internal Communication (SIC) activation key

dns-server1

string

The primary DNS server

dns-server2

string

The secondary DNS server

dns-server3

string

The tertiary DNS server

download-info

boolean

If true, automatically downloads Blade Contracts and other important data (highly recommended)

cluster-member

boolean

If true, the gateway is a member of a cluster

mgmt-eth-ip-address-ipv6

string

Enter this IP address if config-ipv6 is true

time-zone

string

Time zone for the gateway

creation-time

Parameter Name

Value

Description

posix

int

The value is the number of milliseconds that have elapsed since 00:00:00, 1 January 1970

iso-8601

string

Date and time represented in international ISO 8601 format

last-modify-time

Parameter Name

Value

Description

posix

int

The value is the number of milliseconds that have elapsed since 00:00:00, 1 January 1970

iso-8601

string

Date and time represented in international ISO 8601 format

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

Parameter Name

Value

Description

message

string

Operation status

messages

List: string

List of validation errors

code

string

Error code

Request

{

"object-name": "gw7f8BC80A",

"template-name": "Template B",

"mac": "xx:xx:xx:8B:C8:0A",

"ip-address": null,

"sku": "CPAP-SG4800-NGTP",

"is-locked": false,

"reported-status-time": null,

"ext-interface-ip": null,

"time-zone": "London, Europe (GMT)",

"proxy-port": null,

"account-id": 7899567,

"template-id": 87352492,

"comments": "My comments",

"user-script": "",

"upload-info": true,

"ftw-sic-key": "******",

"dns-server1": "",

"dns-server2": "",

"dns-server3": "",

"config-ipv6": false,

"ntp1": "ntp.checkpoint.com",

"ntp2": "ntp2.checkpoint.com",

"identification-key": "******",

"creating-user": "user@domain.com",

"last-modifying-user": null,

"admin-password": "******",

"mgmt-eth-ip-address-ipv6": "",

"mgmt-eth-ip-address-ipv4": "",

"gaia-version-id": 4,

"download-info": true,

"cluster-member": false,

"mgmt-eth-subnet-mask-ipv4": "",

"mgmt-eth-mask-length-ipv6": "",

"default-gateway-ipv6": "",

"under-construction": false,

"ntp1-version": "4",

"ntp2-version": "4",

"default-gateway-ipv4": "",

"proxy-server": "",

"force-reimage": false

}

Response

{

"mac": "xx:xx:xx:8B:C8:0A",

"object-name": "gw7f8BC80A",

"template-name": "Template B",

"is-locked": false,

"reported-status-time": null,

"reported-display-status": "Not reported",

"ip-address": null,

"ext-interface-ip": null,

"sku": "CPAP-SG4800-NGTP",

"account-id": 7899567,

"template-id": 87352492,

"mgmt-eth-subnet-mask-ipv4": "",

"config-ipv6": false,

"mgmt-eth-mask-length-ipv6": "",

"default-gateway-ipv6": "",

"under-construction": false,

"ntp1": "ntp.checkpoint.com",

"ntp1-version": "4",

"ntp2": "ntp2.checkpoint.com",

"ntp2-version": "4",

"default-gateway-ipv4": "",

"proxy-server": "",

"force-reimage": false,

"identification-key": "******",

"comments": "My comments",

"creating-user": "user@domain.com",

"last-modifying-user": null,

"user-script": "",

"admin-password": "******",

"upload-info": true,

"mgmt-eth-ip-address-ipv4": "",

"ftw-sic-key": "******",

"dns-server1": "",

"dns-server2": "",

"dns-server3": "",

"creation-time": {

"posix": 1530099088,

"iso-8601": "2018-06-27T11:31"

},

"last-modify-time": {

"posix": 1530099088,

"iso-8601": "2018-06-27T11:31"

},

"gaia-version-id": 4,

"download-info": true,

"cluster-member": false,

"mgmt-eth-ip-address-ipv6": "",

"proxy-port": null,

"time-zone": "London, Europe (GMT)"

}

show-gaia-claimed-gateway-status

Description

Retrieve a claimed Gaia Gateway's status with its MAC address.

Request URL

POST
https://zerotouch.checkpoint.com/ZeroTouch/web_api/v2/show-gaia-claimed-gateway-status

Request Headers

Header Name

Value

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

Header Name

Value

Description

mac

Required

string

Unique Media Access Control address for the gateway

account-id

Required

int

The User Center account to which gateways and templates belong

Response

On Success, HTTP Return code: 200

Parameter Name

Value

Description

mac

string

Unique Media Access Control address for the gateway

reported-status-time

int

Timestamp when the gateway last reported its status

The value is the number of milliseconds that have elapsed since 00:00:00, 1 January 1970

reported-display-status

string

Possible values:

Not reported, Installing, Finished, Rebooting, Failed, Error, Fetched

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

Parameter Name

Value

Description

message

string

Operation status

messages

List: string

List of validation errors

code

string

Error code

Request

{

"mac": "xx:xx:xx:8B:C8:0A",

"account-id": 7899567

}

Response

{

"mac": "xx:xx:xx:8B:C8:0A",

"reported-status-time": null,

"reported-display-status": "Not reported"

}

unclaim-gaia-gateway

Description

Remove a Gaia Gateway from the Claimed Gateways list so that it is no longer eligible for Zero Touch Cloud Service downloads.

Request URL

POST
https://zerotouch.checkpoint.com/ZeroTouch/web_api/v2/unclaim-gaia-gateway

Request Headers

Header Name

Value

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

Header Name

Value

Description

mac

Required

string

Unique Media Access Control address for the gateway

account-id

Required

int

The User Center account to which gateways and templates belong

Response

On Success, HTTP Return code: 200

Parameter Name

Value

Description

message

string

Operation status

code

string

Success code

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

Parameter Name

Value

Description

message

string

Operation status

messages

List: string

List of validation errors

code

string

Error code

Request

{

"mac": "xx:xx:xx:8B:C8:0A",

"account-id": 7899567

}

Response

{

"message": "Gateway action ended successfully ",

"code": "17999"

}