Hi all,
When I run the following API command it adds the device, but without the location-override, location, os, notes and sysDescr.
curl -X POST -d ‘{“hostname”:“IPADDRESS”,“snmp_disable”:“true”,“sysName”:“Fritz”,“os”:“Fritz”,“override_syslocation”:“1”,“location”:“ADDRESS”,“sysDescr”:“ZT/123456”,“notes”:“123456/O1”}’ -H ‘X-Auth-Token: TOKEN’ https://URL/api/v0/devices
I can add the location override and location afterwards in the GUI, but I prefer to add them via API.
Is there a way to add the location and other variables via API to a ping only device?