update-gateways-from-template

Description

Update configuration of all claimed Small Office Gateways associated with provided template and account. As a result, the configurations previously created using provided template will update values according to current state of the template.

Request URL

POST

https://zerotouch.checkpoint.com/ZeroTouch/web_api/v2/update-gateways-from-template

Request Headers

Parameter Name

Type

Description

Content-Type

application/json

Send JSON object to use the API Web Services

X-chkp-sid

string token

Session unique identifier as the response to the login request

Request Body

Parameter Name

Status

Type

Description

account-id

Mandatory

int

The User Center account to which the Security Gateways and templates belong

template-id

Mandatory

int

The template's unique identifier

Response

On Success, HTTP Return code: 200

Parameter Name

Type

Description

items

int

Total number of items on account

message

string

Operation status

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

Parameter Name

Type

Description

message

string

Operation status

messages

List: string

List of validation errors

code

string

Error code

Request Example

 {
   "account-id": 9044839
   "template-id" 345538
 }

Response Example

 {
   "message": "success"
 }