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.
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.