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 23 Apr 2024 @ 11:00 AM (EDT)

    East US: What's New in R82

    Thu 25 Apr 2024 @ 11:00 AM (SGT)

    APAC: CPX 2024 Recap

    Tue 30 Apr 2024 @ 03:00 PM (CDT)

    EMEA: CPX 2024 Recap

    Thu 02 May 2024 @ 11:00 AM (SGT)

    APAC: What's new in R82

    Tue 23 Apr 2024 @ 11:00 AM (EDT)

    East US: What's New in R82

    Thu 25 Apr 2024 @ 11:00 AM (SGT)

    APAC: CPX 2024 Recap

    Tue 30 Apr 2024 @ 03:00 PM (CDT)

    EMEA: CPX 2024 Recap

    Thu 02 May 2024 @ 11:00 AM (SGT)

    APAC: What's new in R82
    CheckMates Events