- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
delete empty networkcontainer without recursive option
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2020 12:46 AM
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?
Solved! Go to Solution.
Re: delete empty networkcontainer without recursive option
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2020 01:29 AM
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 ]- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2020 02:04 AM - edited 09-30-2020 04:15 AM
Thanks a lot this option works in my case.