THE GAME HAS CHANGED

Introducing Infoblox Universal DDI ManagementTM

Watch the launch to discover the new era of management for critical network services. Watch Now

API & Integration, DevOps,NetOps,SecOps

Reply

delete empty networkcontainer without recursive option

New Member
Posts: 2
3309     0

Hi Team,

I need to delete an empty networkcontainer through WAPI. My request:

 

https://IP_ADDRESS/wapi/v2.10/ipv6networkcontainer/IPV6_NETWORKCONTAINER_REF/default

 

In answer I get HTTP 400 with detailed information:

 

{
"Error": "AdmConDataError: None (IBDataConflictError: IB.Data.Conflict:You have no permission to delete this object recursively)",
"code": "Client.Ibap.Data.Conflict",
"text": "You have no permission to delete this object recursively"
}


Any idea how to achive that? Maybe there is an option to turn off recursively deletion in request?

Re: delete empty networkcontainer without recursive option

Adviser
Posts: 181
3310     0

Hi,

 

Could you please try the following API out?

 

curl -k -u admin:pwd -X DELETE "https://IP_ADDRESS/wapi/v2.10/ipv6networkcontainer/IPV6_NETWORKCONTAINER_REF/default?remove_subnets=false"

Remove subnets delete option determines whether all child objects should be removed alongside with the IPv6 network container or child objects should be assigned to another parental container. By default child objects are deleted with this network container.

 

Regards,

Krishna

 

Re: delete empty networkcontainer without recursive option

[ Edited ]
New Member
Posts: 2
3310     0

Thanks a lot Smiley Happy this option works in my case.

Showing results for 
Search instead for 
Did you mean: 

Recommended for You