Reply

How to remove fixed address

[ Edited ]
martyca
Techie
Posts: 1
1287     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

Adviser
Posts: 99
1288     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