Are you interested in our Early Access Program (EAP)? This program allows you to preview code, test in your lab and provide feedback prior to General Availability (GA) release of all Infoblox products. If so, please click the link here.

API & Integration, DevOps,NetOps,SecOps

Reply

How to Add multiple Extensible Attribute

Member
Posts: 1
155     0

I am using the InfoBlox API to add a given extensible attribute:value to a specific network obect, although I don't seem to be able to add new ones as everytime I try to do that, I always overwrite the current one. Basically I am not quite sure if the API requires an array of attribute:value all the time or If I am allowed to add an attribute one bye one

Re: How to Add multiple Extensible Attribute

Superuser
Posts: 38
156     0

Hi ravig,

 

Each time you are setting/updating extensible attributes you need to pass all the attributes you need to set via API together.
For setting multiple attributes you can use the below format.

{
    "extattrs": {
        "Country": {
            "value": "UK"
        },
        "Region": {
            "value": "EMEA"
        }
    }
}
Shukran
Showing results for 
Search instead for 
Did you mean: 

Recommended for You