Nächste freie IP abfragen
TOKEN=`curl -X POST --user test:test1234 https://ip.netzwerk-profis.net/api/admin/user/ -i | grep -e 'token' | cut -d':' -f5 | cut -d'"' -f2` curl -X POST -H "token: $TOKEN" -d 'hostname=Testrechner&custom_tftpd=172.16.0.1&custom_filename=pxelinux.0&owner=Daniel Meier&subnetId=8' "https://ip.netzwerk-profis.net/api/admin/addresses/first_free/"