- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Printer Friendly Page
delete empty networkcontainer without recursive option
09-30-2020 12:46 AM
I need to delete an empty networkcontainer through WAPI. My request:
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)",
"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?
Solved! Go to Solution.
Re: delete empty networkcontainer without recursive option
09-30-2020 01:29 AM
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.
Re: delete empty networkcontainer without recursive option[ Edited ]
09-30-2020 02:04 AM - edited 09-30-2020 04:15 AM
Thanks a lot this option works in my case.