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 |
|---|---|---|
|
|
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 the Security Gateways and templates belong |
|
|
Mandatory |
int |
The template's unique identifier |
Response
On Success, HTTP Return code: 200
|
Parameter Name |
Type |
Description |
|---|---|---|
|
|
int |
Total number of items on account |
|
|
string |
Operation status |
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": 9044839
"template-id" 345538
}
|
Response Example
{
"message": "success"
}
|