Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
appyens
Participant

Add host with duplicate ip address

Hello There,

 

I want to add host via web service. There is a naming convention I am using while adding hosts.

what if I am adding host with the same name and same IP address again.

What will be the response and how this "set-if-exists" will help me?  

Thanks in advance

0 Kudos
1 Reply
PhoneBoy
Admin
Admin

Same name and IP address will give you an error unless you add it with set-if-exists true.
This will update the existing object with whatever else you specify in the payload.
Different object name but IP address/network already used will give you a "warning" and fail unless you specify ignore-warnings true.
0 Kudos

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    Tue 20 May 2025 @ 11:30 AM (PDT)

    Las Vegas: Check Point Hybrid Mesh

    Wed 21 May 2025 @ 11:30 AM (MST)

    Tempe, AZ: Check Point Hybrid Mesh

    Tue 03 Jun 2025 @ 06:00 PM (EDT)

    Montreal: CPX Recap

    Tue 10 Jun 2025 @ 06:00 PM (EDT)

    Quebec City: CPX Recap
    CheckMates Events