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

API & Integration

Reply

How to create a network (API) - from web portal?

ahhon83
Techie
Posts: 8
115     0

hi, 

 

I would like to create some automation where from one web portal, let's say user put request for /24 network and admin approve it and put it specific /24 of 10.10.10.0/24, is there any API can be used to create this specific 10.10.10.0/24 in the IPAM? Assuming that admin alr know that 10.10.10.0/24 is available and he would like to assign that via web portal. 

 

thanks. 

Re: How to create a network (API) - from web portal?

Adviser
Posts: 117
116     0

Hi,

 

You can do so using the following WAPI:

curl -k -u admin:infoblox -H 'content-type: application/json' -X POST "https://grid-master/wapi/v2.11/network?_return_fields%2B=network&_return_as_object=1 " -d '{"network": "10.10.10.0/24"}'

For more examples, you can take a look at this document.

 

Thanks and Regards,

Krishna Vasudevan

Re: How to create a network (API) - from web portal?

ahhon83
Techie
Posts: 8
116     0

thanks. 

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