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 & Integration, DevOps,NetOps,SecOps

Reply

delete empty networkcontainer without recursive option

New Member
Posts: 2
2662     2

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
2662     2

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
2663     2

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

Showing results for 
Search instead for 
Did you mean: 

Recommended for You