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 Examples


Adding grid member - WAPI error

Posts: 5
751     0

I am trying to add a member in the grid through the following WAPI curl through curl command.


POST "https://x.x.x.x/wapi/v2.11.1/member?_return_as_object=1" -d "{\"config_addr_type\":\"IPV4\",\"host_name\":\"\",\"vip_setting\":[{\"address\":\"\"}]}"


but keep getting  the following error

{ "Error": "AdmConProtoError: Structure expected in vip_setting ([{u'address': u''}])",
"code": "Client.Ibap.Proto",
"text": "Structure expected in vip_setting ([{u'address': u''}])"


can anybody help what is the structure expected for this vip_setting?


Re: Adding grid member - WAPI error

Posts: 38
752     0



You can use the below curl as a reference for request and expected vip_setting structure.


curl -L -X POST 'https://<grid-ip>/wapi/v2.12/member?_return_as_object=1' \
-H 'content-type: application/json' \
-H 'Authorization: Basic YWRtaW46aW5mb2Jsb3g=' \
--data-raw '{
    "config_addr_type": "IPV4",
    "platform": "VNIOS",
    "host_name": "autojoin01.localdomain",
    "vip_setting": {
        "subnet_mask": "",
        "address": "",
        "gateway": ""
Showing results for 
Search instead for 
Did you mean: 

Recommended for You