02-18-2015 01:27 PM
Is there any way to add extensible attribute definitions via the WAPI? My use case is bringing up a new Infoblox appliance and adding our source controlled document of attributes in a file on github, and then checking to make sure those extensible attributes are always created. If they are not in the list, I would delete them via WAPI, and if I remove them from the document, it would then remove the attribute from the appliance.
I haven't found a way to create or query for existence via the WAPI.
02-19-2015 05:08 AM
To the best of my knowledge it is not possible to create new extensible attribute defintions via the WAPI. Basd on my reading of the manual it is possible to create new EAs with the Perl API (PAPI), but I have not tested this myself.
08-11-2016 05:50 AM
I managed to add a new extensible attribute via WAPI (type ENUM). How can I add a new value to this list afterwards?
Regards, Daniel Ufer
12-13-2018 05:38 AM
You have to overwrite the full list of values using a PUT call to your object:
Note: your object referring to exact same values will keep the right data, if you remove or rename a field, object lose reference and has EA value empty