Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
Alan_Dressner1
Contributor
Jump to solution

set-if-exists example

Could I have an example on how to use "set-if-exists"? And what versions of the API is this command compatiable with?

0 Kudos
1 Solution

Accepted Solutions
PhoneBoy
Admin
Admin
It's a parameter of several API calls specifically creating hosts, networks, and similar types of objects.
I believe it goes back to 1.0 but you can review the API docs and confirm: https://sc1.checkpoint.com/documents/latest/APIs/index.html#~v1.5

View solution in original post

0 Kudos
2 Replies
PhoneBoy
Admin
Admin
It's a parameter of several API calls specifically creating hosts, networks, and similar types of objects.
I believe it goes back to 1.0 but you can review the API docs and confirm: https://sc1.checkpoint.com/documents/latest/APIs/index.html#~v1.5
0 Kudos
Alan_Dressner1
Contributor

I was able to figure it it and it does work with version 1.0 and up.

Here's an example.

 

add host name "host_10.210.16.213" ip-address "10.210.16.213" set-if-exists "true" ignore-warnings "true"

0 Kudos

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events