Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Using API to update description attribute in infoblox gui
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2021 04:21 PM
2198     0
Hi,
I was wandering if anyone can help me use the infoblox API to update the description attribute for a fixed IP adress.
Is there capability in the API to update that description attribute?
Re: Using API to update description attribute in infoblox gui
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2021 09:52 PM
2198     0
Hi,
I can't see the screenshot you have pasted. Could you please attach it as a file instead?
Is this description field an extensible attribute? If yes, then you can try and update it as below:
curl -k -u admin:infoblox -H 'content-type: application/json' -X PUT "https://grid-master/wapi/v2.11/fixedaddress/ZG5zLmZpeGVkX2FkZHJlc3MkMTkyLjE2OC4xLjEwMC4wLi4:192.168.1.100/default?_return_fields%2B=extattrs&_return_as_object=1" -d '{"extattrs":{"Description": {"value": "Test Description"}}}'
Regards,
Krishna