Learn How We Can Help You Keep Teleworkers Protected During the COVID-19 Crisis

API & Integration

Reply
Highlighted

How to remove fixed address

[ Edited ]
Techie
Posts: 1
1732     0

when i try to remove a fixed address using -X DELETE on the fixedaddress _ref, i get:
illegal object type

 

command i use:

curl -k -s -X DELETE -H 'content-type: application/json' -u userSmiley Tongueass "https://wapiurl/v2.3/<fixedaddressref>"

 

how do i remove a fixed address using the wapi?

 

 

Highlighted

Re: How to remove fixed address

Community Manager
Community Manager
Posts: 167
1733     0

Be sure to include the full reference, including the IP address and network view.  Also, removing the "-s"  (for silent) will display rrors so you can see what's going on.  You don't have any JSON here, so you don't need to specify JSON content, but it doesn't hurt.  Here's a working example:

 

curl -k -X DELETE -H 'content-type: application/json' -u admin:infoblox https://192.168.1.2/wapi/v2.3/fixedaddress/ZG5zLmZpeGVkX2FkZHJlc3MkMTAuMTAyLjAuNC4wLi4:10.102.0.4/de...

 

 

Showing results for 
Search instead for 
Do you mean 

Recommended for You