cancel
Showing results for 
Search instead for 
Did you mean: 
Login & Join the DevCentral Connects Group to watch the Recorded LiveStream (May 12) on Basic iControl Security - show notes included.

Create an address List on the bigip using RestAPI?

Bunkemannen
Nimbostratus
Nimbostratus

Is it possible to automate the creation of address Lists (shared Objects) via the API, or any other tool lika Ansible /Terraform?

1 REPLY 1

cjunior
Nacreous
Nacreous

Hello,

Using iControlREST:

curl -k -u "admin:admin" -X POST -H 'Content-Type: application/json' -d '{ "name":"my_list", "addresses":["10.10.10.10","10.10.10.20"] }' https://192.168.1.245/mgmt/tm/security/firewall/address-list |jq

I hope it helps.

Regards.