Introducing SOC Insights for BloxOne Threat Defense: Boost your SOC efficiency with AI-driven insights to eliminate manual work and accelerate investigation and response times. Read the blog announcement here.

API Examples


Adding grid member - WAPI error

New Member
Posts: 5
970     1

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
970     1



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