THE GAME HAS CHANGED

Introducing Infoblox Universal DDI ManagementTM

Watch the launch to discover the new era of management for critical network services. Watch Now

API & Integration, DevOps,NetOps,SecOps

Reply

URGENT, PLEASE HELP : Name Parameter in API

Authority
Posts: 29
1752     0

Hi Team,

 

A very small question.

 

When I add a host using next available function by using API like below

 

curl -k -u admin:Infoblox -H 'content-type: application/json' -X POST
"https://127.0.0.1/wapi/v2.10/record:host?_return_fields%2B=name,ipv4addrs&_return_as_object=1 " -d '{"name":
"wapi.info.com","ipv4addrs":[{"ipv4addr":"func:nextavailableip:10.10.10.0/24"}]}'

 

Does the parameter name refers to the host name ??

 

If in future I want to assign a device with name xyz a IP from subnet in Infoblox using API, should I put "name":xyz in the above API request???

 

 

Showing results for 
Search instead for 
Did you mean: 

Recommended for You

Businesses are investing heavily into securing company resources from cyber-attacks form cybercrimin