Forum Discussion

Bunkemannen's avatar
Bunkemannen
Icon for Nimbostratus rankNimbostratus
Mar 12, 2020

Create an address List on the bigip using RestAPI?

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

1 Reply

  • 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.