Reply

How to remove fixed address

[ Edited ]
Member
Posts: 1
2269     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?

 

 

Re: How to remove fixed address

Community Manager
Community Manager
Posts: 200
2270     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 
Did you mean: 

Recommended for You