API & Integration, DevOps,NetOps,SecOps

Reply

Record:Host network argument invalid

Techie
Posts: 4
825     0

I'm looking to retrieve all the host records in a network (CIDR) and I'm getting an error saying "Unknown argument/field: network".

 

According to the WAPI documentation, the "network" argument is a search-only field for the record:host object, so I'm not sure what I'm missing.

 

The syntax is straightforward: https://<gridmaster>/wapi/v2.10.1/record:host?network=1.2.3.4/24

Re: Record:Host network argument invalid

Techie
Posts: 4
825     0

Found the solution - updating URL to latest WAPI version (2.11.2) did the trick:

 

https://<gridmaster>/wapi/v2.11.2/record:host?network=1.2.3.4/24

Showing results for 
Search instead for 
Did you mean: 

Recommended for You