Infoblox Exchange Cybersecurity Roadshow 2020 – Join us!
North America | Europe | Middle East/Africa | Asia-Pacific

API & Integration

Reply
Highlighted

URGENT, PLEASE HELP : Name Parameter in API

Authority
Posts: 30
148     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 
Do you mean 

Recommended for You

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