Reparent subnets while deleting network container
Hi all,
I am currently facing an issue with running WAPI call with below syntax. My lab is NIOS 8.6.2 with IPAM (Network Insight license is not installed).
curl -k -u admin:infoblox -H 'content-type: application/json' -X POST " https://10.193.35.186/wapi/v2.12/networkcontainer/ZG5zLm5ldHdvcmtfY29udGFpbmVyJDEuMS4xLjAvMjcvMA:1.1.1.0/27/default?remove_subnets=false&_return_as_object=1"
After running the command, result below returned:
{ "Error": "AdmConProtoError: field for create missing: network",
"code": "Client.Ibap.Proto",
"text": "field for create missing: network"
}
What am I missing here?
Please kindly shed some light here.
Regards,
Tommy
Best Answer
-
The issue resolved with below:
curl -k -u admin:infoblox -H 'content-type: application/json' -X DELETE "https://10.193.34.180/wapi/v2.12/networkcontainer/ZG5zLm5ldHdvcmtfY29udGFpbmVyJDEuMS4xLjAvMjcvMA:1.1.1.0/27/default?remove_subnets=false&_return_as_object=1"
Thanks everyone.
1
Categories
- All Categories
- 5K Forums
- 4.6K Critical Network Services
- 463 Security
- Visibility and Insights
- Ideas Portal
- Webinars & Events
- 265 Resources
- 265 News & Announcements
- Knowledge Base Articles
- Infoblox Documentation Portal
- Infoblox Blog
- Support Portal
- 4 Members Hub
- 4 Getting Started with Community
- Community Support