If customer wants to create bulk of address objects in a single API, use below


 

curl -k -X PATCH 'https://<Director-ip>:9182/api/config/devices/template/<template-name>/config/orgs/org-services/<org-name>/objects/addresses' \

  -H 'accept: application/json' \

  -H 'content-type: application/json' \

  --data-raw '{"addresses": {

                      "address": [

                        {

                          "name": "TEST9",

                          "ipv4-prefix": "10.40.43.15/32"

                        },

                        {

                          "name": "TEST12",

                          "ipv4-prefix": "10.40.43.16/32"

                        },

                        {

                          "name": "TEST11",

                          "ipv4-prefix": "10.40.43.17/32"

                        }

                      ]

                    } }' \