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
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
Parameter Name |
Status |
Type |
Description |
---|---|---|---|
|
Mandatory |
int |
The User Center account to which Security Gateways and templates belong |
|
Mandatory |
int |
The template's unique identifier |
|
Optional |
boolean |
If " |
|
Optional |
string |
IPv4's subnet mask |
|
Optional |
boolean |
Must be " |
|
Optional |
int |
Enter the mask length value if |
|
Optional |
string |
Enter the default gateway if |
|
Optional |
boolean |
A " Default value: |
|
Optional |
string |
Network Time Protocol for clock synchronization between computer systems
|
|
Optional |
string |
Most recent version of Check Point's NTP servers is the string value " |
|
Optional |
string |
Network Time Protocol for clock synchronization between computer systems
|
|
Optional |
string |
Most recent version of Check Point's NTP servers is the string value " |
|
Optional |
string |
IPv4's default gateway |
|
Optional |
string |
IP address of the proxy server |
|
Optional |
int |
Proxy port number for client connections ( |
|
Optional |
int |
ID number of Gaia version from: |
|
Optional |
boolean |
If " |
|
Optional |
string |
This is configured on the Security Gateway as a unique identifier to be recognized unambiguously by Zero Touch The string for the key is set at the Security Gateway's command line interface:
If there are repeated invalid entries of Set |
|
Optional |
string |
General comments |
|
Optional |
string |
The |
|
Optional |
string |
The |
|
Optional |
string |
CLI commands execute on the Security Gateway immediately after all other settings are applied In multiline CLISH scripts, use end line ("
Before executing the script, the Security Gateway locks the database automatically No need to add the |
|
Optional |
string |
Administrator password for the Security Gateway The |
|
Optional |
boolean |
Controls the Upload Consent Flag on the Security Gateway If " For R81.20 and higher, see sk175504 For R81.10 and lower, see sk111080 |
|
Optional |
string |
IPv4 address |
|
Optional |
string |
Creating a Secure Internal Communication (SIC |
|
Optional |
string |
The primary DNS server |
|
Optional |
string |
The secondary DNS server |
|
Optional |
string |
The tertiary DNS server |
|
Optional |
boolean |
Controls the Download Consent Flag on the Security Gateway If " For R81.20 and higher, see sk175504 For R81.10 and lower, see sk111080 |
|
Optional |
boolean |
If " |
|
Optional |
string |
Enter this IP address if |
|
Optional |
string |
Time zone for the Security Gateway |
|
Optional |
string |
The template name |
Response
On Success, HTTP Return code: 200
Parameter Name |
Type |
Description |
---|---|---|
|
object |
Timestamps for creating a template |
|
object |
Timestamps for last modifying a template |
|
int |
The User Center account to which Security Gateways and templates belong |
|
int |
The template's unique identifier |
|
string |
IPv4's subnet mask |
|
boolean |
Must be " |
|
int |
Enter the mask length value if |
|
string |
Enter the default gateway if |
|
boolean |
A " Default value: |
|
string |
Network Time Protocol for clock synchronization between computer systems
|
|
string |
Most recent version of Check Point's NTP servers is the string value " |
|
string |
Network Time Protocol for clock synchronization between computer systems
|
|
string |
Most recent version of Check Point's NTP servers is the string value " |
|
string |
IPv4's default gateway |
|
string |
IP address of the proxy server |
|
int |
Proxy port number for client connections ( |
|
int |
ID number of Gaia version from: |
|
boolean |
If " |
|
string |
This is configured on the Security Gateway as a unique identifier to be recognized unambiguously by Zero Touch The string for the key is set at the Security Gateway's command line interface:
If there are repeated invalid entries of Set |
|
boolean |
If " |
|
string |
General comments |
|
string |
The |
|
string |
The |
|
string |
CLI commands execute on the Security Gateway immediately after all other settings are applied In multiline CLISH scripts, use end line ("
Before executing the script, the Security Gateway locks the database automatically No need to add the |
|
string |
Administrator password for the Security Gateway The |
|
boolean |
Controls the Upload Consent Flag on the Security Gateway If " For R81.20 and higher, see sk175504 For R81.10 and lower, see sk111080 |
|
string |
IPv4 address |
|
string |
Creating a Secure Internal Communication (SIC) activation key |
|
string |
The primary DNS server |
|
string |
The secondary DNS server |
|
string |
The tertiary DNS server |
|
boolean |
Controls the Download Consent Flag on the Security Gateway If " For R81.20 and higher, see sk175504 For R81.10 and lower, see sk111080 |
|
boolean |
If " |
|
string |
Enter this IP address if |
|
string |
Time zone for the Security Gateway |
|
string |
The template name |
creation-time
Parameter Name |
Type |
Description |
---|---|---|
|
int |
The value is the number of milliseconds that have elapsed since 00:00:00, 1 January 1970 |
|
string |
Date and time represented in international ISO 8601 format |
last-modify-time
Parameter Name |
Type |
Description |
---|---|---|
|
int |
The value is the number of milliseconds that have elapsed since 00:00:00, 1 January 1970 |
|
string |
Date and time represented in international ISO 8601 format |
On Failure, HTTP Return code: 400, 401, 500
Parameter Name |
Type |
Description |
---|---|---|
|
string |
Operation status |
|
List: string |
List of validation errors |
|
string |
Error code |
Request Example
{ "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 Example
{ "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" } |